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.

Way to tap before other taps? Are `stage` and `before` options supported?

See original GitHub issue

We’re thinking about using tapable as a replacement for typedoc’s internal eventing stuff. Is there a way to tap a hook before other already-registered taps? I see Hook options before and stage. Are they supported, or will they go away when v2 is released? If we start using tapable, should we use the v2 beta or stick to v1?

Thanks for any insight you can offer. Let me know if I should be looking elsewhere for answers.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
sokracommented, Dec 17, 2018

It’s a number, Taps with lower number execute before Taps with higher number. Taps with equal stage execute in order of attaching.

0reactions
cspotcodecommented, Dec 17, 2018

Very cool, I can declare multiple stages of a hook using a numeric enumeration, and then plugins can tap into any stage by name.

Thanks for all the information; this is very helpful.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unit 5: Tapping – Manufacturing Processes 4-5
Tapping is the process of cutting a thread inside a hole so that a cap screw or bolt can be threaded into the...
Read more >
What Are the Three Pipe Tapping Methods? - Iron Strong
Tapping, also known as hot tapping or pressure tapping, allows a utility to tie into a pressurized system by drilling or cutting safely...
Read more >
TAPS Treatment - How Do You Treat TAPS? - TAPS Support
Solomon Laser Technique. Much like in TTTS, laser surgery will sever the connections between the babies and stop the blood from passing from...
Read more >
TAP Declaration (OpenOCD User's Guide)
TAPs serve many roles, including: Debug Target A CPU TAP can be used as a GDB debug target. Flash Programming Some chips program...
Read more >
Diagnosed with TAPS - TTTS Foundation
Twin anemia polycythemia sequence (TAPS) is a silent killer as the mother will not show any physical symptoms. Taps can happen before birth...
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