Append 'unsubscribe’, 'resubscribe' function's return-type annotation

This commit is contained in:
zaneli 2014-06-19 12:58:01 +09:00
parent dbef684908
commit 86dc4f477a
3 changed files with 2 additions and 4 deletions

View File

@ -1 +0,0 @@
""

View File

@ -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;
}
}

View File

@ -1 +0,0 @@
""