ChainGraph API Documentation / @badaitech/chaingraph-types / MultiChannelSchema
Variable: MultiChannelSchema
constMultiChannelSchema:ZodObject<{buffer:ZodArray<ZodAny,"many">;isClosed:ZodBoolean; },"strip",ZodTypeAny, {buffer:any[];isClosed:boolean; }, {buffer:any[];isClosed:boolean; }>
Defined in: packages/chaingraph-types/src/utils/multi-channel.ts:16
Zod schema for MultiChannel serialization/deserialization. Used to validate serialized channel state containing buffer and closed status.