kernel::IsInterrupted

Tests whether a variant result holds the Interrupted alternative.

Synopsis

Declared in <kernel/notifications_interface.h>

template<typename T>
bool
IsInterrupted(T const& result);

Return Value

true if the operation was interrupted, otherwise false.

Parameters

NameDescription
resultVariant result to inspect.