Skip to content

sending actions during action propagation should likely assert #275

Open
@jamieQ

Description

consider the following pattern:

childWorkflow
  .mapOutput { sink.send(.someOutput) }
  .ignoreOutput()
  .rendered(in: context)

this will often 'work', but causes concurrent action handling in the runtime. using sinks during action propagation should likely trigger some form of debug assertion at a minimum, since emitting actions during action handling can lead to unexpected processing/dropped events, or redundant render passes.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions