@samply/lens
    Preparing search index...

    Function querySpot

    • Use the spot API to send a query and listen for results.

      Parameters

      • query: string

        The query to execute

      • signal: AbortSignal

        An AbortSignal to cancel the request

      • resultCallback: (result: SpotResult) => void

        A callback function to handle each result

      Returns Promise<void>