Options
All
  • Public
  • Public/Protected
  • All
Menu

Module locking

Index

Functions

Functions

acquire

  • acquire(config: Config, state: RunnerState, task: Task): Promise<boolean>
  • Aquire locks on resources

    Parameters

    • config: Config
    • state: RunnerState
    • task: Task

    Returns Promise<boolean>

release

  • release(config: Config, state: RunnerState, task: Task): Promise<undefined | true>
  • Release locks on resources

    Parameters

    • config: Config
    • state: RunnerState
    • task: Task

    Returns Promise<undefined | true>

Generated using TypeDoc