Interface Queue

Index

Construct signatures

Properties

Methods

Construct signatures

constructor(env: any): any

Parameters

  • env: any

Returns

any

Properties

public abort: boolean

public blocks: Block[]

public ensured: Array<boolean>

public env: Env

public index: number

public offset: number

public running: boolean

Methods

public add(block: any, ensure?: boolean)

Parameters

  • block: any
  • ensure?: boolean optional

public addBefore(block: Block, ensure?: boolean)

Parameters

  • block: Block
  • ensure?: boolean optional

public insertNext(block: any, ensure?: boolean)

Parameters

  • block: any
  • ensure?: boolean optional

public isRunning(): boolean

Returns

boolean

public next_()

public results(): NestedResults

Returns

NestedResults

public start(onComplete?: () => void)

Parameters

  • onComplete?: () => void optional