Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Batch

Index

Properties

after

after: BatchFunction[] = []

afterBefore

afterBefore: BatchFunction[] = []

before

before: BatchFunction[] = []

beforeAfter

beforeAfter: BatchFunction[] = []

Methods

add

  • Register a function in either the "after before" list or in the "before after" list, depending if a "main" function exists.

    see

    [[Batch#hasMain]]

    see

    [[Batch#main]]

    Parameters

    Returns void

addAfter

addBefore

hasMain

  • hasMain(): boolean
  • Return if there is a main function or not.

    Returns boolean

main

run

  • Execute all registered functions. Keep in mind that the result of the "main" function will be supplied to the last callback.

    Parameters

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • 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