Skip to content

Conversation

@StevenLambion
Copy link
Owner

@StevenLambion StevenLambion commented Nov 16, 2020

This PR refactors how actions may be chained together. It uses a new CompositeAction type that generates the chain via a publisher.

Work Performed

  • Added a new CompositeAction to chain multiple actions together.
  • Added '+' operator to combine actions.
  • Simplified the cancellable action workflow.
  • RunnableAction now returns a publisher instead of a cancellable.
let compositeAction = simpleAction + myActionPlan + anotherAction store.send(compositeAction)
@StevenLambion StevenLambion merged commit 0deffd3 into 2.x Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants