mongodb-stitch
Version:
[](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
7 lines (6 loc) • 330 B
TypeScript
import { Decoder } from "../../internal/common/Codec";
import Stream from "../../internal/net/Stream";
export default interface CoreStitchServiceClient {
callFunction<T>(name: string, args: any[], decoder?: Decoder<T>): Promise<T>;
streamFunction<T>(name: string, args: any[], decoder?: Decoder<T>): Promise<Stream<T>>;
}