Just a small note (not sure how on topic it is) about simulating functionality like this is to use a pipeline. I’ve used this approach a number of times in APIs.
step(1,2)
|> next
|> next
|> block(fn s → … end)
|> next
Just a small note (not sure how on topic it is) about simulating functionality like this is to use a pipeline. I’ve used this approach a number of times in APIs.
step(1,2)
|> next
|> next
|> block(fn s → … end)
|> next