Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TaskRunner

Hierarchy

  • TaskRunner

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

registry

Methods

service

  • Acquire a Remote for the given service where any calls to the remote will await the full completion of the remote call and resolve to the return value of the remote function. If you only want to enqueue a task, use worker() instead.

    Type parameters

    Parameters

    Returns RemoteService<T>

worker

  • Acquire a Remote for the given service where any calls to the remote will resolve to a QueueJob which can be further interacted with. Promise will resolve once the item has been successfully delivered to the event queue.

    Type parameters

    Parameters

    Returns RemoteWorker<T>

Generated using TypeDoc