Repository navigation
Closed
Labels
Area: APIsThings related to external and internal APIsThings related to external and internal APIsPriority: LowThis issue can probably be picked up by anyone looking to contribute to the project.This 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.No one has claimed for resolving this issue. Generally applied to bugs and enhancement issues.Status: ProposalA feature request or another suggestion.A feature request or another suggestion.Type: EnhancementMost issues will probably be for additions or changes. Expected that this will result in a PR.Most issues will probably be for additions or changes. Expected that this will result in a PR.good first issueGood for newcomers and first-timer contributorsGood for newcomers and first-timer contributors
Description
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?
Metadata
Metadata
Assignees
Labels
Area: APIsThings related to external and internal APIsThings related to external and internal APIsPriority: LowThis issue can probably be picked up by anyone looking to contribute to the project.This 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.No one has claimed for resolving this issue. Generally applied to bugs and enhancement issues.Status: ProposalA feature request or another suggestion.A feature request or another suggestion.Type: EnhancementMost issues will probably be for additions or changes. Expected that this will result in a PR.Most issues will probably be for additions or changes. Expected that this will result in a PR.good first issueGood for newcomers and first-timer contributorsGood for newcomers and first-timer contributors
Activity
GrosSacASac commentedon Nov 26, 2019
It is not possible currently. file.path has to be modefied sync during fileBegin otherwise it has no effect
GrosSacASac commentedon Jun 16, 2023
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
GrosSacASac commentedon Jun 28, 2023
I believe this issue is fixed by #855