• Aborts the pending task with TimeoutError if the task execution took longer then the given delay.

    Parameters

    • delay: number

      The delay in milliseconds after which the task is aborted.

    Returns ExecutorPlugin