Skip to content

v1.0.0-alpha2

Pre-release
Pre-release
Compare
Choose a tag to compare
@vistart vistart released this 13 Jan 17:56
· 36 commits to r1.0 since this release

v1.0.0-alpha2

The second alpha release version: including simple.DAG.

simple.DAG

  • Workflow:
    • No limit to the complexity of a directed acyclic graph.
    • Single input and single output.
    • Canceled at any time during execution.
    • Shipped with any loggers.
  • Transit:
    • Any inputs and outputs(except the initial input and final output).
    • The worker accepts the incoming context parameter and allows receiving Done() signal.
    • Any worker error will terminate the execution and notify all the loggers to record events, including panic() and recover from it.
  • Logger:
    • LoggerInterface: Allow custom loggers.
    • Predefined four log levels.
    • Default logger: Log events are output to the standard output and standard error.
    • Error collector: Collect errors generated during workflow execution.

Notice:

Features not yet available:

  • Check if there is a loop.
  • Check that all channels are used and only used once.

v1.0.0-alpha1 is not recommended to use.