mirror of
https://github.com/musix-org/musix-oss
synced 2025-07-05 02:30:49 +00:00
Updated
This commit is contained in:
19
node_modules/google-gax/build/src/streamingCalls/streamingApiCaller.d.ts
generated
vendored
Normal file
19
node_modules/google-gax/build/src/streamingCalls/streamingApiCaller.d.ts
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
import { APICaller, ApiCallerSettings } from '../apiCaller';
|
||||
import { APICallback, CancellableStream, GRPCCall, SimpleCallbackFunction } from '../apitypes';
|
||||
import { StreamDescriptor } from './streamDescriptor';
|
||||
import { StreamProxy } from './streaming';
|
||||
export declare class StreamingApiCaller implements APICaller {
|
||||
descriptor: StreamDescriptor;
|
||||
/**
|
||||
* An API caller for methods of gRPC streaming.
|
||||
* @private
|
||||
* @constructor
|
||||
* @param {StreamDescriptor} descriptor - the descriptor of the method structure.
|
||||
*/
|
||||
constructor(descriptor: StreamDescriptor);
|
||||
init(settings: ApiCallerSettings, callback: APICallback): StreamProxy;
|
||||
wrap(func: GRPCCall): GRPCCall;
|
||||
call(apiCall: SimpleCallbackFunction, argument: {}, settings: {}, stream: StreamProxy): void;
|
||||
fail(stream: CancellableStream, err: Error): void;
|
||||
result(stream: CancellableStream): CancellableStream;
|
||||
}
|
Reference in New Issue
Block a user