Created
July 15, 2020 19:20
-
-
Save lpil/f8503f24bc7e82108c1adbc470b4c5bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub fn init(spec: Spec(Nil)) { | |
spec | |
|> add( | |
worker(start_child1) | |
|> with_state(fn(_state, pid) { pid }), | |
) | |
|> add(worker(start_child2)) | |
|> add(worker(start_child3)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment