schedule_from
isn't starting the schedule sender if decay-copying results throws
#304
Labels
bug
Something isn't working
needs-proposed-resolution
This issue does not yet have a proposed resolution but needs one
P1
exec.schedule.from/p11 specifies
shedule_from
's completion operation as follows:so if emplacing the result tuple throws,
set_error
is immediately called on the downstream receiver. no attempt is made to post the completion to the specified scheduler. this is probably not the right behavior. the right thing, i think, is to catch the exception, emplace theexception_ptr
into theasync-result
variant, and then start the schedule operation, as shown below:we also need to change how we specify the variant type of
state.async-result
:The text was updated successfully, but these errors were encountered: