A11 TypeScript API - v0.7.0
    Preparing search index...

    Function toChunk

    • Serialize through the current process-wide registry.

      Parameters

      • value: unknown
      • mimetype: string = ''

      Returns Promise<StatusOr<Chunk>>

      const chunk = valueOrThrow(await toChunk({ query: 'ocean weather' }));