| EventBusTEvent, TClassifier, TSubscriberUnsubscribe Method (TSubscriber, TClassifier) |
Removes the specified subscriber from the list of subscribers that listen for particular events on the bus.
Namespace:
Akka.Event
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public virtual bool Unsubscribe(
TSubscriber subscriber,
TClassifier classifier
)
abstract Unsubscribe :
subscriber : 'TSubscriber *
classifier : 'TClassifier -> bool
override Unsubscribe :
subscriber : 'TSubscriber *
classifier : 'TClassifier -> bool
Parameters
- subscriber
- Type: TSubscriber
The subscriber that is being removed. - classifier
- Type: TClassifier
The classifier of the event that the subscriber wants.
Return Value
Type:
Booleantrue if the subscription cancellation succeeds; otherwise
false.
See Also