Package-level declarations

Types

Link copied to clipboard
class InputMessage<I>(val input: I, val transferables: Transferables)

Message arriving from a sender.

Link copied to clipboard
interface OutputDispatcher<O>
Link copied to clipboard
interface WorkerFactory<I, O>

A worker factory creates all objects necessary to construct a worker.

Link copied to clipboard
abstract class WorkerStrategy<I>

A worker strategy represents the core logic that a web worker performs given some input.

Link copied to clipboard

Functions

Link copied to clipboard

Create a no-op IOSerializer used for worker strategies that sends and receive raw strings.

Link copied to clipboard

Convenience method to create a WorkerStrategy from a lambda.