EventBusCapabilities class abstract final

Compile-time platform capabilities of the package.

The isolate APIs are VM-only. On a JS or Wasm target the library still compiles and the local bus works, but constructing an isolate API throws UnsupportedError instead of failing inside dart:isolate.

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

Constants

isolateSupported → const bool
Whether EventBusIsolate, Layers and WorkerPool are available.
isWeb → const bool
True on a JavaScript or Wasm target.
transportSupported → const bool
The transport seam and TransportEventBus are platform-neutral. A concrete broker connection may still be VM-only; see the adapter docs.