Skip to content

Feature request: add promise.with #5

@jakub-bochenski

Description

@jakub-bochenski

I'd like to be able to pass some context object (e.g. a pre-initializer logger) along the promise chain.
Bluebird has a bind() method that does that.

I think implementing this would be rather simple, the question is how to make it work with Java syntax.

Closure-scope is not adequate here, as I want the same logger to be shared end-to-end and not only in the steps defined in current method.

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