AbortController

class AbortController(logger: Logger = NoopLogger)(source)

Mutable abort source — the v6 equivalent of AbortController. Hold the controller, hand the signal to the agent, call abort from the UI's stop button.

Since

0.3.0-beta01

Parameters

logger

receives a warning if a registered abort callback throws.

Constructors

Link copied to clipboard
constructor(logger: Logger = NoopLogger)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun abort()