Method signature Subscribable.unsubscribe

Removes the callback from the list of subscribers. The original callback instance must be passed in as an argument.

Signature

unsubscribe(callback: (value: T) => void): boolean;

Details

Optional No

Parameters

Name Type Optional Description
callback (value: T) => void No

Returns

boolean

True if the callback was removed, false if it was not found.