Skip to content
instance method

Thread#pending_interrupt?

(*untyped args) -> bool
target_thread.pending_interrupt?(error = nil) → true/false

Returns whether or not the asynchronous queue is empty for the target thread.

If error is given, then check only for error type deferred events.

See ::pending_interrupt? for more information.