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)

9 lines (8 loc) 469 B
import { CoreStitchServiceClient, Decoder, Stream } from "mongodb-stitch-core-sdk"; import StitchServiceClient from "../StitchServiceClient"; export default class StitchServiceClientImpl implements StitchServiceClient { private readonly proxy; constructor(proxy: CoreStitchServiceClient); callFunction<T>(name: string, args: any[], codec?: Decoder<T>): Promise<T>; streamFunction<T>(name: string, args: any[], codec?: Decoder<T>): Promise<Stream<T>>; }