Function responsible to run the passed function and surround it with whatever needed.
The name has been inspired from the act function coming with React.
This wrapper function is not supposed to throw. The received function f will never throw.
Wrapping order in the following:
global act defined on fc.scheduler wraps wait level one
wait act defined on s.waitX wraps local one
local act defined on s.scheduleX(...) wraps the trigger function
Function responsible to run the passed function and surround it with whatever needed. The name has been inspired from the
act
function coming with React.This wrapper function is not supposed to throw. The received function f will never throw.
Wrapping order in the following:
fc.scheduler
wraps wait level ones.waitX
wraps local ones.scheduleX(...)
wraps the trigger function