BuildGrid
Using BuildGrid
About
Components
Getting Started
Installation
Configuration
Using
Monitoring and Metrics
Resources
CLI reference
Developing BuildGrid
Development Environment Setup
Notes for Developers
API reference
buildgrid
buildgrid package
Subpackages
Module contents
Configuration Parser API
Contributing
Architecture
BuildGrid
API reference
buildgrid
buildgrid package
buildgrid.server package
buildgrid.server.utils package
buildgrid.server.utils.cancellation module
View page source
buildgrid.server.utils.cancellation module
class
buildgrid.server.utils.cancellation.
CancellationContext
(
context
:
ServicerContext
)
Bases:
object
is_cancelled
(
)
→
bool
on_cancel
(
callback
:
Callable
[
[
]
,
None
]
)
→
None