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

    Parameters

    • ms: number

      The timeout in milliseconds after which the task is aborted.

    Returns ExecutorPlugin