Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "framework/worker"

Index

Classes

Interfaces

Type aliases

Type aliases

WorkerMap

WorkerMap: Map<T, Worker<T>>

Map linking contexts to Worker instances.

WorkerMethod

WorkerMethod: function

A method called by the Worker class to process an event.

param

The ServiceEvent to process.

Type declaration

    • (data: ServiceEvent): Promise<void>
    • Parameters

      • data: ServiceEvent

      Returns Promise<void>

WorkerRemove

WorkerRemove: function

Remove a worker from a context.

param

The context in which the Worker should be removed.

Type declaration

    • (context: T): void
    • Parameters

      • context: T

      Returns void

Generated using TypeDoc