reactormonk
10/22/2022, 7:24 AMFlow
isn't closable because it's cold?Sam
10/22/2022, 7:44 AMreactormonk
10/22/2022, 7:51 AMshareIn
, apparently I need something different?Sam
10/22/2022, 7:53 AMreactormonk
10/22/2022, 7:53 AMSam
10/22/2022, 8:04 AMflow { ... }
builder or something more complex?Sam
10/22/2022, 8:05 AMreactormonk
10/22/2022, 11:49 AMchannelFlow
, but how do I send something into that scope from the outside? Is there something like an MVar
in Haskell where I can wait for a single value to be set?ephemient
10/22/2022, 2:24 PMCompletableDeferred
is kinda like a one-time MVar
, but I'm still not clear what you're representingephemient
10/22/2022, 2:25 PMreactormonk
10/23/2022, 4:54 PMephemient
10/24/2022, 7:11 PM.stateIn(scope)
and .shareIn(scope)
do) but you can't go the other way around