Skip to content

aisbreaker-api-js - v0.1.15 / utils/AbortControllerUtils

Module: utils/AbortControllerUtils

Table of contents

Functions

Functions

createSecondAbortControllerFromAbortController

createSecondAbortControllerFromAbortController(firstAbortSignal?): AbortController

Create a second Abortcontroller, if a seconds party wants to be able to abort

Parameters

NameType
firstAbortSignal?AbortSignal

Returns

AbortController

Defined in

aisbreaker-js/packages/aisbreaker-api-js/src/utils/AbortControllerUtils.ts:8

Released under the MIT License.