Chronicle. Task
(chronicle v0.1.2)
Copy Markdown
Task helpers that propagate the current audit context and active group.
Tasks started inside a group must be awaited before the group function returns. A task cannot append to a group after that group has closed.
Summary
Functions
@spec async_stream(Enumerable.t(), (term() -> term()), keyword()) :: Enumerable.t()
@spec async_stream( Supervisor.supervisor(), Enumerable.t(), (term() -> term()), keyword() ) :: Enumerable.t()
@spec wrap((-> result)) :: (-> result) when result: term()