This is awesome. I’m sure your husband will be happy for the gift.
Is it too much to ask to get a photo of whatever it turns out to be?
1 Like
Has to be some clever way to use start_child/2. How about?
defmodule Wife do
def start_child(supervisor, opts) do
supervisor
|> Supervisor.start_child(Supervisor.child_spec(opts))
end
end
Husband
|> Wife.start_child(name: Child)
7 Likes