DartBridgeSolutions class

FFI bridge to the rac_solution_* C ABI.

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

cancel(SolutionNativeHandle handle) int
Force-cancel the graph.
closeInput(SolutionNativeHandle handle) int
Signal end-of-stream on the root input edge.
createFromProto(Uint8List bytes) SolutionFfiResult
Create a solution handle from proto-encoded config bytes.
createFromYaml(String yaml) SolutionFfiResult
Create a solution handle from a YAML config string.
destroy(SolutionNativeHandle handle) → void
Cancel, join, and release native resources. Idempotent.
feed(SolutionNativeHandle handle, String item) int
Feed one UTF-8 item into the root input edge.
start(SolutionNativeHandle handle) int
Start the underlying scheduler. Non-blocking.
stop(SolutionNativeHandle handle) int
Request a graceful shutdown. Non-blocking.