The value stored by the executor.
The executor to suspend on.
A predicate called on a pending executor. If it returns true,
rendering is suspended until the executor settles. If it returns false, rendering continues immediately with
whatever state the executor currently holds. Only called when the executor is pending — non-pending executors
never trigger suspension regardless of this predicate.
Defaults to suspending whenever the executor is pending and not yet fulfilled.
The executor, for chaining with get or getOrDefault.
// Suspend while the executor is pending, then get the settled value
const value = useExecutorSuspense(useExecutor('test', heavyTask)).get();
Suspends rendering until an executor satisfies a predicate.