Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WorkerTaskScheduler

Hierarchy

  • WorkerTaskScheduler

Index

Constructors

constructor

Methods

broadCast

  • broadCast<T>(type: string, args: T): void

deleteRef

  • deleteRef(ref: string, startsWith?: boolean): void
  • Parameters

    • ref: string
    • Default value startsWith: boolean = false

    Returns void

deleteRefs

  • deleteRefs(): void

push

  • push<M, R>(type: string, args: M, transferAbles: ArrayBuffer[]): Promise<R>
  • push<M, R, T>(type: string, args: M, transferAbles: ArrayBuffer[], toResult: function): Promise<T>
  • Type parameters

    • M

    • R

    Parameters

    • type: string
    • args: M
    • transferAbles: ArrayBuffer[]

    Returns Promise<R>

  • Type parameters

    • M

    • R

    • T

    Parameters

    • type: string
    • args: M
    • transferAbles: ArrayBuffer[]
    • toResult: function
        • (r: R): T
        • Parameters

          • r: R

          Returns T

    Returns Promise<T>

pushStats

setRef

terminate

  • terminate(): void