-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Effects API experiments #33
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipex
force-pushed
the
effects-api
branch
4 times, most recently
from
September 16, 2023 02:13
97c08d0
to
cc65102
Compare
Change-type: minor
pipex
force-pushed
the
effects-api
branch
4 times, most recently
from
September 18, 2023 20:56
226a73e
to
ab92fae
Compare
Also adds pipe and flow combinators Change-type: minor
pipex
force-pushed
the
effects-api
branch
4 times, most recently
from
September 23, 2023 21:38
9164957
to
1de9bac
Compare
Observables now have a more monadic API, allowing mapping over the values and combining observables together. This will make it easier to use observables with effects Change-type: minor
pipex
force-pushed
the
effects-api
branch
2 times, most recently
from
September 25, 2023 21:07
16fd341
to
397b8ea
Compare
This allows to have long running operations that are observable Change-type: minor
Task definitions now accept both the original definition, using condition, effect and actions, as well as the new API, using just an effect function returning an effect Change-type: minor
Changing the task definition changed ids used when diagraming with mermaid. Change-type: patch
pipex
force-pushed
the
effects-api
branch
5 times, most recently
from
September 26, 2023 18:48
66960f7
to
9ac68f3
Compare
Renames some effect helpers and makes condition usable with tasks defined with an effect. This allows to have fewer levels of callbacks when defining the effect for a task Change-type: minor
This allows to both test the new API and provide an example on how to work with this API Change-type: patch
pipex
added a commit
that referenced
this pull request
Sep 27, 2023
The `Effect` type is a mix between a promise, a function and an observable. It provides a way to combine an async computation with a sync version which "simulates" the effect that the async computation will have on the underlying system. These types are also composable via `map` and `flatMap`, which would allow building more complex effects from simpler ones, however this is ouside the scope of the current PR (see PR #33 for a use of those ideas). Change-type: minor
Merged
pipex
added a commit
that referenced
this pull request
Sep 27, 2023
The `Effect` type is a mix between a promise, a function and an observable. It provides a way to combine an async computation with a sync version which "simulates" the effect that the async computation will have on the underlying system. These types are also composable via `map` and `flatMap`, which would allow building more complex effects from simpler ones, however this is outside the scope of the current PR (see PR #33 for a use of those ideas). Change-type: minor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change-type: minor