infrastructure/native/isolate/worker_isolate library
Functions
-
buildWorkerErrorResponse(
WorkerRequest request, String error) → WorkerResponse - Response sent when a worker WorkerRequest fails with an exception.
-
handleWorkerRequestForTesting(
WorkerRequest request, SendPort sendPort, NativeOdbcConnection conn) → void - Dispatches one WorkerRequest synchronously (unit tests only).
-
workerEntry(
SendPort mainSendPort) → void - Entry point for the worker isolate. Must be top-level or static.