Skip to content

sending actions during action propagation should likely assert #275

Description

@jamieQ

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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