@borda/client
Advanced tools
Comparing version 0.0.14 to 0.0.15
{ | ||
"name": "@borda/client", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "packages", |
@@ -9,3 +9,5 @@ /** | ||
export declare function publish<T = void>(key: string, value?: T): void; | ||
export declare function subscribe<T = void>(key: string, handler: (arg: T) => void): void; | ||
export declare function unsubscribe(key: string, handler?: Function): void; | ||
export declare function subscribe<T = void>(key: string, handler: (arg: T) => void): { | ||
unsubscribe: () => void; | ||
}; | ||
export declare function unsubscribe(key: string): void; |
Sorry, the diff of this file is too big to display
158381
4037