run function
Instantiates a WorkerService via the initializer
and installs the service in a platform worker.
The command
argument is ignored on Web platforms. On native platforms, the command
argument must
be set to the Isolate's startup parameter.
Implementation
void run(WorkerInitializer initializer,
[List? command, SquadronLogger? logger]) =>
bootstrap(initializer, command, logger);