Crate flowrlib

source ·
Expand description

Runtime library for flow execution. This will be linked with other code to produce a or runner, such as flowr command line runner.

It is responsible for reading a flow definition in a Manifest file, loading the required libraries from LibraryManifest files and then coordinating the execution by dispatching Jobs to be executed by Function Implementations, providing them the Inputs required to run and gathering the Outputs produced and passing those Outputs to other connected Functions in the network of Functions.

Modules

module providing Block struct from runtime that is required for debugging and tracing
coordinator is the module that coordinates the execution of flows submitted to it
Dispatcher module takes care of dispatching jobs for execution and gathering results
We’ll put our errors in an errors module, and other modules in this crate will use errors::*; to get access to everything error_chain creates.
Executor module receives jobs for execution, executes them and returns results
info offers methods to get information about this library
module providing Job struct from runtime that is required for debugging and tracing
Trait for a set of methods a server using the library must supply
Structure that defines/tracks the current runtime state
Service names common across multiple binary crates