CancellationTokenSource::CancelWithException (open)

Cancels the token with a specific exception

Syntax

LOADLIB "wh::promise.whlib";

MACRO CancelWithException(OBJECT e)

Parameters

OBJECT e

Exception to cancel the token with.