Module: Feat::InterruptibleSleep

Included in:
Client, StreamingClient
Defined in:
lib/feat/streaming.rb

Overview

Sleeps that wake promptly when a stop flag flips, so background threads shut down without waiting out a full interval.

Constant Summary collapse

SLEEP_GRANULARITY =
0.1