Library API
    Preparing search index...

    Function revocable

    • Creates a proxy that can be permanently revoked on demand.

      Type Parameters

      • T extends object

      Parameters

      • target: T

        The object to wrap

      • options: ProxyOptions = {}

        Proxy behavior configuration

      Returns { proxy: T; revoke: () => void }

      An object containing the proxy and a function that revokes it