PooledInstanceProxy class
Instance of this class is returned from IsolatePool.createInstance
and is used to communication with PooledInstance via Action's
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- remoteCallback ↔ PooledCallbak?
-
If not null isolate instance can send actions back to main isolate and this callback will be called
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
callRemoteMethod<
R> (Action action) → Future< R> - Pass Action with required params to the remote instance and get result. Re-throws expcetion should the action fail in the executing isolate
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited