IsolateWorker class
Methods
-
kill()
→ void
-
Terminates the isolate and closes all associated resources.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pause()
→ void
-
Pauses the event subscription for this worker.
-
resume()
→ void
-
Resumes the event subscription for this worker.
-
sendMessage<T, R>(WorkerMessage<T, R> message, {Duration? timeout})
→ Future<R>
-
Sends a WorkerMessage to the isolate for execution and returns the result.
-
start()
→ Future<void>
-
Starts the isolate and sets up communication.
-
toString()
→ String
-
A string representation of this object.
inherited