Reschedules the current script using the same deployment id if we're out of governance
governance checker - if it returns false then script will reschedule.
Optionalparams: objectoptional script parameters to provide to the newly scheduled script
OptionalparamsCallback: (params?: object) => objectoptional callback that will supply the params object. This can be useful if you have
parameters that are updated after the point rescheduleIfNeeded is executed.
typically this would be your invocation of governanceRemains()
a function that returns the same boolean that the governancePredicate() does ( so it can be invoked by takeWhile() as well)
Reexport governance exports from ./utility/governance
Deprecated
Use direct imports from './utility/governance' instead.