Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-channel / memory / InMemoryChannelSchema

Variable: InMemoryChannelSchema

const InMemoryChannelSchema: z.ZodObject<{ buffer: z.ZodArray<z.ZodAny, "many">; currentPosition: z.ZodNumber; isClosed: z.ZodBoolean; }, "strip", z.ZodTypeAny, { buffer: any[]; currentPosition: number; isClosed: boolean; }, { buffer: any[]; currentPosition: number; isClosed: boolean; }>

Defined in: memory/InMemoryChannel.d.ts:10

Zod schema for InMemoryChannel serialization.

Licensed under BUSL-1.1