FChannelEvent<TData, TEvent extends FChannelEventData<TData>> class abstract

FChannelEvent provides a channel to handle events asynchronously.

This is very similar to FSubscriberChannel but callback signature does not accept Exception.

In another words: FChannelEvent is unbreakable version of FSubscriberChannel.

Implementers

Constructors

FChannelEvent.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addHandler(FEventChannelCallback<TData, TEvent> cb) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeHandler(FEventChannelCallback<TData, TEvent> cb) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited