Crate haltic

Crate haltic 

Source
Expand description

This crate provides a wrapper type for making a long-running service loops cancellable

Structs§

Canceller
Get a thread safe access to the atomic bool
Handle
Handle to manage service loop

Enums§

LoopState
Tells if main service should continue or not

Traits§

Cancellable
Main trait that should be implemented for a service to be cancellable