Cereal docs
TypeScript SDKTypeScript signatures

client.channels

TypeScript client.channels signature, generated from CerealClient.

This is the TypeScript interface. See client setup and behavior.

interface ClientSurface {
readonly channels: {
    issueToken(input: {
        readonly kind: "dev" | "worker";
        readonly name: string;
    }): Promise<ChannelToken>;
};
}

For the wire contract, use HTTP reference. Composite helpers are explained in the API/SDK map.