Eva class abstract

Event Architecture

Constructors

Eva.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

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

Static Methods

dispatchCommand(Command command) → void
Sends the command to the domain isolate, where the Command.handle method will run
disposeEnvironment() → void
If you ever needed, you can kill an environment
executeOnDomain<TInput, TOutput>(Future<TOutput> staticHandler(RequiredFactory required, PlatformInfo platform, TInput input), [TInput? input]) Future<TOutput>
Executes the static or top-level function staticHandler, passing the input argument on the domain isolate.
getEventsStream<T>(int consumer) Stream<Event<T>>
useEnvironment<T extends Environment>(T environmentFactory(), {required bool useMultithreading}) Future<void>
Initializes an Environment to be used with Eva.