Options
All
  • Public
  • Public/Protected
  • All
Menu

Task encapsulates functionality relating to Celery Tasks. The generic parameter T is the return type of the task to be called.

see

Client#createTask

Type parameters

  • T

Hierarchy

  • Task

Index

Constructors

Methods

Constructors

constructor

  • new Task(__namedParameters: object): Task
  • Parameters

    • __namedParameters: object

    Returns Task

    A Task that is ready to be applied.

Methods

applyAsync

  • applyAsync(__namedParameters: object): Result<T>
  • Parameters

    • __namedParameters: object

    Returns Result<T>

    A Result object. If ignoreResult is true or the client was created with a NullBackend, Result#get cannot be invoked.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc