module

Bubbles::Context

Constructors

background

Returns a background context that is never canceled.

Source

Class methods

with_timeout(parent : Context, duration : Time::Span) : Tuple(Context, CancelFunc)

Returns a new context that is canceled after the given duration.

Source

Nested types