class

Obsctl::Server::ReconnectSignal

Inherits Reference < Object

Internal synchronization primitive for supervisor reconnect sleeps.

Constructors

Instance methods

cancel
Source
latest_request_epoch
Source
on_waiter_registered

Test-only hook invoked while @lock is held, immediately after a waiter is appended. Callbacks must not block and must not send on an unbuffered channel because that can deadlock waiter registration.

Source
on_waiter_registered=(on_waiter_registered : Proc(Nil) | Nil)

Test-only hook invoked while @lock is held, immediately after a waiter is appended. Callbacks must not block and must not send on an unbuffered channel because that can deadlock waiter registration.

Source
request
Source
wait(delay : Time::Span, handled_request_epoch : UInt64) : WaitResult
Source
wake
Source

Nested types