Releases: rkallos/wrek
Use decorator for custom event fun
Add option for wrek timeout
This release adds an option that will kill a DAG if the execution of its vertices takes too long. This complements the optional timeouts that can be added to vertices.
Thanks @weatherman2095pro for the PR!
Make OS processes link to wrek_vert instead of the callback process
Merge pull request #21 from rkallos/fix/link-ospid-to-wrek-vert Fix/link ospids to wrek vert
Add wrek_vert:reuse_sandbox/2
A pattern was emerging where many verts would share the same sandbox. Using wrek_vert:get_sandbox/2
worked okay, but a problem emerged when using get_sandbox
on a vert that also used get_sandbox
; it would return undefined
. wrek_vert:reuse_sandbox/2
fixes this.
Fix bug with vert KVs, rename record types
Merge pull request #18 from rkallos/upkeep/rename-record-types Change record names from t to ?MODULE
Allow custom callback functions for wrek_vert:exec
Merge pull request #16 from rkallos/feature/custom-exec-callback Feature/custom exec callback
Accept wrek_vert_t:t() in wrek_vert_t:from_defn/1
General refactoring
This tag replaces the digraph:graph()
and map()
representations of DAGs and vertices with record representations. Hopefully this improves type checking and future extension.
A notable change is that wrek:put_data/2
has been renamed to wrek:put_sandbox
. It was an exposed function that was meant for internal use, and all it was being used for was for writing the paths of sandboxes in to the DAG. If you were relying on wrek:put_data/2
, I'm very sorry.
Add OTP-21 support
Merge pull request #13 from lpgauth/feature/OTP-21 OTP-21 compatibility
Export vert_id type
Merge pull request #6 from rkallos/upkeep/monotonic-ids Upkeep/monotonic ids