open static method

Future<Channel> open(
  1. dynamic entryPoint,
  2. String workerId,
  3. List startArguments, [
  4. PlatformWorkerHook? hook,
])

Starts a worker using the entryPoint and sends a start WorkerRequest with startArguments. The future must not complete before the worker is ready to serve requests.

Implementation

static Future<Channel> open(
        EntryPoint entryPoint, String workerId, List startArguments,
        [PlatformWorkerHook? hook]) =>
    openChannel(entryPoint, workerId, startArguments, hook);