/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v5.5.2
shared/engine/index.d.ts
28 строк
958 B
Alex Gessner
windows start/stop changes (#22023)
28 янв 2020, 00:05
Не верифицирован
28 янв 2020, 00:05
9647416
Код
Авторство
О чём код?
import Session from './session' import {RPCError} from '../util/errors' import {IncomingCallMapType, CustomResponseIncomingCallMapType} from '../constants/types/rpc-all-gen' type WaitingKey = string | Array<string> export declare class Engine { dispatchWaitingAction: (key: WaitingKey, waiting: boolean, err: RPCError | null) => void reset(): void rpc(): void sagasAreReady(): void registerCustomResponse(s: string): void createSession(arg0: { incomingCallMap?: IncomingCallMapType waitingKey?: WaitingKey cancelHandler?: any dangling?: boolean }): Session _rpcOutgoing(arg0: { method: string params: Object | null | undefined | void callback: (...args: Array<any>) => void waitingKey?: WaitingKey }): void } export declare function getEngine(): Engine export declare function makeEngine(arg0: any, arg1: any): Engine export default getEngine export {IncomingCallMapType, CustomResponseIncomingCallMapType}