mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Append 'unsubscribe’, 'resubscribe' function's return-type annotation
This commit is contained in:
parent
dbef684908
commit
86dc4f477a
@ -1 +0,0 @@
|
||||
""
|
||||
4
arbiter/Arbiter.d.ts
vendored
4
arbiter/Arbiter.d.ts
vendored
@ -121,12 +121,12 @@ declare module ArbiterDef {
|
||||
/**
|
||||
* Unsubscribing simply sets a flag which prevents the subscriber from executing, in case you want to re-subscribe later.
|
||||
*/
|
||||
unsubscribe(subscription_id: number);
|
||||
unsubscribe(subscription_id: number): boolean;
|
||||
|
||||
/**
|
||||
* After unsubscribing, you can later re-subscribe to begin receiving messages again.
|
||||
*/
|
||||
resubscribe(subscription_id: number);
|
||||
resubscribe(subscription_id: number): boolean;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1 +0,0 @@
|
||||
""
|
||||
Loading…
Reference in New Issue
Block a user