Options
All
  • Public
  • Public/Protected
  • All
Menu

node-routine

Index

Interfaces

Functions

Functions

go

  • go(handler: Function, context?: Object): Promise<unknown>
  • Parameters

    • handler: Function

      routine function

    • Default value context: Object = {}

      variables defined in context

    Returns Promise<unknown>

    handler function result

init

shutdown

  • shutdown(): Promise<void>
  • Shutdown worker threads pool

    Returns Promise<void>

Generated using TypeDoc