@twilio/flex-sdk
    Preparing search index...
    • This resolves a single query according to the options specified and returns a Promise which is either resolved with the resulting data or rejected with an error.

      Type Parameters

      • TData = unknown
      • TVariables extends OperationVariables = OperationVariables

      Parameters

      • options: QueryOptions<TData, TVariables>

        An object of type QueryOptions that allows us to describe how this query should be treated e.g. whether it should hit the server at all or just resolve from the cache, etc.

      Returns Promise<{ data: TData | undefined; error?: ErrorLike }>