UNPKG

mongodb-stitch

Version:

[![Join the chat at https://gitter.im/mongodb/stitch](https://badges.gitter.im/mongodb/stitch.svg)](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

7 lines (6 loc) 330 B
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>>; }