@kayahr/signal
    Preparing search index...

    Interface Resource

    Controls and status accessors returned together with a resource value getter.

    interface Resource {
        error(): Error | undefined;
        reload(): void;
        status(): ResourceStatus;
    }

    Hierarchy

    • Disposable
      • Resource
    Index

    Methods

    • Returns the last resource error, if any.

      Returns Error | undefined

      The last resource error or undefined.

    • Reloads the resource for the current source value.

      Returns void