fork

abstract fun fork(env: Any? = definedExternally): Worker(source)

Spawn a new worker process.

This can only be called from the primary process.

Since

v0.6.0

Parameters

env

Key/value pairs to add to worker process environment.