Cancellation

A token handed to a download to stop it.

A token handed to a download to stop it. Cancelling makes the in-flight call reject with the core.cancelled code. Owns a native handle — call Cancellation.free (or using cancellation = new Cancellation()) when done.

View source ↗

Constructor

new Cancellation();

Methods

Prop

Type

On this page