Skip to content

async event listeners possible? #503

Closed

Description

@akosyakov

Hey 👋 i want to use async code in fileBegin to make sure that full path exists with mkdirs without blocking. Is it possible?

Should req.pause before async block and req.resume after do the trick?

Activity

  1. GrosSacASac commented on Nov 26, 2019

    @GrosSacASac
    Contributor

    It is not possible currently. file.path has to be modefied sync during fileBegin otherwise it has no effect

  2. added
    good first issueGood for newcomers and first-timer contributors
    Priority: LowThis issue can probably be picked up by anyone looking to contribute to the project.
    Status: AvailableNo one has claimed for resolving this issue. Generally applied to bugs and enhancement issues.
    Status: ProposalA feature request or another suggestion.
    Type: EnhancementMost issues will probably be for additions or changes. Expected that this will result in a PR.
    Area: APIsThings related to external and internal APIs
    and removed on Apr 2, 2022
  3. GrosSacASac commented on Jun 16, 2023

    @GrosSacASac
    Contributor

    May I ask why you want to make sure that full path exists with mkdirs without blocking ?
    Because maybe your endgoal is already solved by a recent change in this library

  4. GrosSacASac commented on Jun 28, 2023

    @GrosSacASac
    Contributor

    I believe this issue is fixed by #855

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

    Area: APIsThings related to external and internal APIsPriority: LowThis issue can probably be picked up by anyone looking to contribute to the project.Status: AvailableNo one has claimed for resolving this issue. Generally applied to bugs and enhancement issues.Status: ProposalA feature request or another suggestion.Type: EnhancementMost issues will probably be for additions or changes. Expected that this will result in a PR.good first issueGood for newcomers and first-timer contributors

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions