Files
NapCatQQ/.pnpm-store/v3/files/56/681dad320c6aec76dcb0575edc81b86e5571dcedf672f4d4b6a0e4f3b5a16de44e7cb238765d17244555e2cb80b6b820abc4ea6cf41474672f8db22ecfbe3d
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

12 lines
527 B
Plaintext

import type { TSchema, SchemaOptions } from '../schema/index';
import type { Static } from '../static/index';
import { Kind } from '../symbols/index';
export interface TAsyncIterator<T extends TSchema = TSchema> extends TSchema {
[Kind]: 'AsyncIterator';
static: AsyncIterableIterator<Static<T, this['params']>>;
type: 'AsyncIterator';
items: T;
}
/** `[JavaScript]` Creates a AsyncIterator type */
export declare function AsyncIterator<T extends TSchema>(items: T, options?: SchemaOptions): TAsyncIterator<T>;