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

    Parameters

    • ms: number

      The timeout in milliseconds after which the executor is rejected.

    Returns ExecutorPlugin