Layers class

Constructors

Layers()

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

createLayers(List<LayerSpec> layers, {bool currentIsModelBus = true, bool bridgeIsModelBus = false, Duration? timeout}) → Future<Layer>
Builds a chain of layers, each running in its own isolate.
supervise(List<LayerSpec> layers, {bool currentIsModelBus = true, bool bridgeIsModelBus = false, Duration? timeout, SupervisionPolicy policy = const SupervisionPolicy()}) → LayersSupervisor
Builds a supervised chain: any worker layer failure restarts the whole worker chain, while the top layer (this isolate) and its subscriptions survive.