*Update dist
This commit is contained in:
parent
6a91a5f4fd
commit
1a77bb0469
|
@ -12,7 +12,10 @@ export interface RPCResponse {
|
|||
}
|
||||
export interface RPCMethod {
|
||||
cacheable: boolean;
|
||||
handler: (request: RPCRequest, sendStream: (stream: AsyncIterable<Uint8Array>) => void) => Promise<RPCResponse | null>;
|
||||
handler: (
|
||||
request: RPCRequest,
|
||||
sendStream: (stream: AsyncIterable<Uint8Array>) => void
|
||||
) => Promise<RPCResponse | null>;
|
||||
}
|
||||
export declare const RPC_REQUEST_SCHEMA: JSONSchemaType<RPCRequest>;
|
||||
export interface StreamFileResponse {
|
||||
|
@ -32,5 +35,7 @@ export interface Plugin {
|
|||
exports?: any;
|
||||
default?: Plugin;
|
||||
}
|
||||
export declare type RPCStreamHandler = (stream: AsyncIterable<Uint8Array>) => Promise<RPCResponse>;
|
||||
export declare type RPCStreamHandler = (
|
||||
stream: AsyncIterable<Uint8Array>
|
||||
) => Promise<RPCResponse>;
|
||||
//# sourceMappingURL=index.d.ts.map
|
Loading…
Reference in New Issue