-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add BCDD::Result::Transitions::Listener #30
Merged
Merged
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
serradura
force-pushed
the
feat/transitions-listener
branch
15 times, most recently
from
January 29, 2024 01:54
4790668
to
429aa91
Compare
serradura
force-pushed
the
feat/transitions-listener
branch
from
January 29, 2024 01:59
429aa91
to
9f949f8
Compare
serradura
changed the title
[WIP] Add BCDD::Result transitions listener
Add BCDD::Result transitions listener
Jan 29, 2024
serradura
force-pushed
the
feat/transitions-listener
branch
from
January 29, 2024 02:05
9f949f8
to
f44cddd
Compare
serradura
force-pushed
the
feat/transitions-listener
branch
3 times, most recently
from
January 29, 2024 13:40
3a363dc
to
242a769
Compare
serradura
force-pushed
the
feat/transitions-listener
branch
from
January 30, 2024 00:14
242a769
to
c0bec0f
Compare
serradura
force-pushed
the
feat/transitions-listener
branch
4 times, most recently
from
January 30, 2024 13:49
74ae057
to
aff628a
Compare
serradura
force-pushed
the
feat/transitions-listener
branch
from
January 30, 2024 13:56
aff628a
to
f35f1a9
Compare
serradura
force-pushed
the
feat/transitions-listener
branch
from
January 30, 2024 23:40
f35f1a9
to
5d7cd1d
Compare
serradura
changed the title
Add BCDD::Result transitions listener
Add BCDD::Result::Transitions::Listener
Jan 30, 2024
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.
Added
BCDD::Result.configuration
- Accept freeze option (default:true
). When true, the configuration will be frozen after the block execution.BCDD::Result.config.transitions
- Add transitions feature configuration.config.transitions.listener =
- Set a listener to be called during the result transitions tracking. It must be a class that includesBCDD::Result::Transitions::Listener
.config.transitions.trace_id =
- Set a lambda (must have arity 0) to be called to get a trace id. Use to correlate different or the same operation (executed multiple times).Add transitions metadata property
:ids_matrix
. It is a simplification of the:ids_tree
property. The matrix rows are the direct transitions from the root transition block, and the columns are the transitions nested from the direct transitions.Changed
(BREAKING) Move transition
:source
from:and_then
to:result
property.(BREAKING) Rename transitions metadata property
:tree_map
to:ids_tree
.