| EventStreamExtensionsUnsubscribeTChannel Method |
Unsubscribes the specified subscriber.
Namespace:
Akka.Event
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public static bool Unsubscribe<TChannel>(
this EventStream eventStream,
IActorRef subscriber
)
[<ExtensionAttribute>]
static member Unsubscribe :
eventStream : EventStream *
subscriber : IActorRef -> bool
Parameters
- eventStream
- Type: Akka.EventEventStream
The event stream. - subscriber
- Type: Akka.ActorIActorRef
The subscriber.
Type Parameters
- TChannel
- The channel.
Return Value
Type:
Booleantrue if unsubscription was successful,
false otherwise.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
EventStream. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions See Also