buildgrid.server.utils.context module

class buildgrid.server.utils.context.CancellationContext(context: ServicerContext)

Bases: object

is_cancelled() bool
on_cancel(callback: Callable[[], None]) None