issues
search
deephaven
/
deephaven-plugins
Deephaven Plugins
11
stars
15
forks
source link
feat: Add useConditionalCallback hook
#993
Closed
mofojed
closed
2 weeks ago
mofojed
commented
2 weeks ago
Takes a condition that if it is false, will return undefined instead of the callback
Useful for the pattern where we're wrapping a callback but don't want to pass a callback to a child if we didn't receive a callback