Skip to content

Commit

Permalink
imp: Better support for subscribers in Publisher class.
Browse files Browse the repository at this point in the history
  • Loading branch information
Byloth committed Dec 7, 2024
1 parent c4aea40 commit 6d642d9
Show file tree
Hide file tree
Showing 6 changed files with 125 additions and 93 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@byloth/core",
"version": "2.0.0-rc.10",
"version": "2.0.0-rc.11",
"description": "An unopinionated collection of useful functions and classes that I use widely in all my projects. 🔧",
"keywords": [
"Core",
Expand Down Expand Up @@ -63,5 +63,5 @@
"typescript": "^5.7.2",
"vite": "^5.4.11"
},
"packageManager": "pnpm@9.14.4+sha512.c8180b3fbe4e4bca02c94234717896b5529740a6cbadf19fa78254270403ea2f27d4e1d46a08a0f56c89b63dc8ebfd3ee53326da720273794e6200fcf0d184ab"
"packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c"
}
179 changes: 94 additions & 85 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const VERSION = "2.0.0-rc.10";
export const VERSION = "2.0.0-rc.11";

export type { Constructor, Interval, Timeout } from "./core/types.js";

Expand Down
2 changes: 2 additions & 0 deletions src/models/callbacks/callable-object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ export default abstract class CallableObject<T extends Callback<any[], any> = ()
}

public abstract invoke(...args: Parameters<T>): ReturnType<T>;

public readonly [Symbol.toStringTag]: string = "CallableObject";
}
Loading

0 comments on commit 6d642d9

Please sign in to comment.