question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support async replacement

See original GitHub issue

This could be useful when doing an async calculation of the replacement text (for example, compiling some javascript, etc). I could try to put together a PR this week 😃

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
lazdcommented, Sep 15, 2022

@mrweiner super low without a PR, I don’t have incentive or time to add this feature myself.

0reactions
mrweinercommented, Sep 14, 2022

@lazd any chance of getting this feature added, given that a PR doesn’t seem to have ever been created?

Read more comments on GitHub >

github_iconTop Results From Across the Web

string-replace-async - npm
Start using string-replace-async in your project by running `npm i string-replace-async`. There are 74 other projects in the npm registry ...
Read more >
javascript : Async/await in .replace - Stack Overflow
An easy function to use and understand for some async replace : async function replaceAsync(str, regex, asyncFn) { const promises ...
Read more >
Will async/await replace Result type? | by Aaina jain - Medium
Let's say you have a complex asynchronous block of code and on success or failure you have to call completion block. In that...
Read more >
Supporting async/await as a module owner - Swift in Depth
As a module owner, you can see it's painless to support both async and “regular” versions of the same asynchronous code. It goes...
Read more >
Deprecate the async API and replace it with CLR abstractions ...
In this case, I believe there is more harm in retaining support for the async model than in removing it. The async model...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found