Crate runtime

Source
Expand description

Git Interactive Rebase Tool - Runtime

§Description

This module is used to handle the application lifecycles and management of threads.

§Test Utilities

To facilitate testing the usages of this crate, a set of testing utilities are provided. Since these utilities are not tested, and often are optimized for developer experience than performance should only be used in test code.

Modules§

testutils
Utilities for writing tests that interact with the runtime.

Structs§

Installer
A thread installer that is passed to a Threadable when installing the threads into the Runtime
Notifier
A thread status notifier, that allows a thread to notify the Runtime of the current status of the thread.
Runtime
A system the manages the lifetime of threads. This includes ensuring errors are handled, threads are paused and resumed on request and that once the main application is completed, all threads complete and end.
ThreadStatuses
Tracker for threads current Statuss.

Enums§

RuntimeError
The kind of config error that occurred.
Status
The threads status.

Traits§

Threadable
An interface for a entity that has threads managed by the Runtime.