pre-installations and preparations
This commit is contained in:
1 parent
3e5a0329cb
commit
201d621ac3
6977 files changed
+742826
No files matched your search
+9
@@ -0,0 +1,9 @@
|
||||
export interface MessageBus {
|
||||
subscribe(topic: string, callback: Function): () => void;
|
||||
publish(topic: string, ...args: unknown[]): void;
|
||||
}
|
||||
export declare function createMessageBus(): MessageBus;
|
||||
/**
|
||||
* @ignore - internal hook.
|
||||
*/
|
||||
export declare function useMessageBus(): MessageBus;
|
||||
Reference in new issue
Block a user