onCancelTimeout property

void Function(Object error)? onCancelTimeout
getter/setter pair

Called when a cancelled native operation has not ended by the deadline. The owner uses this to reject operations queued behind the stuck turn.

Implementation

void Function(Object error)? onCancelTimeout;