Skip to content

Effectful system map debug #162

Description

@Trouv

One benefit of bevy_pipe_affect is being able to process effects before they are performed. One thing I've done a couple times is look at the effect my system is having by debugging it in an intermediate system... Something like.

my_effectful_system
    .map(|ef| {
        dbg!("{ef:?}");
        ef
    })
    .pipe(affect)

It'd be nice if this library provided a simple mappable debug function like that, so it only takes 1 line instead of 4.

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

    A-System-CombinatorsArea - concerning system combinators.C-FeatureCategory - making something new possible.D-ModestDifficulty - new features, refactors, and challenging bug fixes.S-Ready-For-ImplementationStatus: this issue is ready for someone to pick it up and open a PR!

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions