Open nshimiye opened 4 years ago
I have proactively looked and proposed a change that would fix the above issue, if you guys think it is an issue!
This is working as expected. It's not a race, it returns the first defined value by plugin order. This way the behavior is always deterministic and independent of timing.
I see, thx for clarification @sokra ! Would it be possible to point me to a doc/reference that explains more about the plugin order I think that will help me figure out how to use tapable for my use-case and maybe add a test case to help others understand the expected behavior
Consider this example
Expected (hook is expected to use value from the third tap)
Actual (hook uses value from second tap instead)