Skip to content

sbusso/workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Embedded Workflow

Simple library for embedded workflow mechanism. Support serial and parallel exectution.

Code abstracted and then extracted from a complex application. I havent checked other available libraries as this one was built from a growing application.

TODO

  • battle-tested, test errors / job config
  • persistent storage for stateful workflows
  • pass only data to processor and find another a way to handle error (by function returning)
  • pass only data to processor and find another a way for spawning (by enclosing processors ?) : enclose method with workflow instance and pass it to the closure to spawn a new Job workflow.NewJob() so workflow to pass data output from 1 process to next one + test
  • caller to provide processor to manage result instead of workflow to provide a channel for return

Changelog

  • 2018-10-30: processor can spawn new job
  • 2018-10-30: caller to provide processor to manage result instead of workflow to provide a channel for return.

About

Golang Embedded Workflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages