@suluk/cockpit - v0.2.0
    Preparing search index...

    Function swapProvider

    • Rebind a facet's slot to another implementation of the same interface. Returns the unchanged doc on error.

      Type Parameters

      • T

      Parameters

      • doc: T
      • facet: string
      • impl: string

      Returns SwapResult<T>