Expand description
§HyperCPU
HyperCPU is a library for creating and running any kind of calculation across instances. It allows you to share your calculation logic across threads, processes, and even machines.
At the core of HyperCPU is the Moment
trait.
A Moment
is a unit of work that can be
resolved into a value. The resolve
method
is asynchronous, so values do not need to be
immediately available.
Thanks to the logic behind a Moment
, calculations
can be stacked without resolution. This allows
machines to resolve values in parallel, even
when they depend on each other.
Modules§
- cond
- Provides conditional logic for
Moment
s. - convert
- Provides types and traits for converting between
Moment
s. - ops
- Provides types and traits for various operations on
Moment
s. - prelude
- Provides the HyperCPU prelude.
- value
- Provides easy construction of
Moment
s.
Traits§
- Moment
- A unit of work that can be resolved into a value.