Skip to content

API reference > @kontsedal/olas-react > SuspendableController

SuspendableController type ​

What <SuspendOnUnmount> and useSuspendOnHidden pause: an object withsuspend() and resume(). The handle ctx.attach(...) returns fits, and so does a Root.

Signature:

typescript
type SuspendableController = {
  suspend(): void;
  resume(): void;
};

Released under the MIT License.