Decorates a handler such that when it is running, the given progressCallback is invoked
at the specified interval, passing the interval time in msec as an option.
Does not change the return type of the decorated handler - it is still TNext.
Useful for getting progress events from effects that don't notify of progress intrinsically.
Decorates a handler such that when it is running, the given
progressCallback
is invoked at the specified interval, passing the interval time in msec as an option. Does not change the return type of the decorated handler - it is stillTNext
. Useful for getting progress events from effects that don't notify of progress intrinsically.