core-3nweb-client-lib 0.27.5 → 0.27.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import {
|
|
2
|
+
import { Observer, Subject, Subscribable } from "rxjs";
|
|
3
3
|
import { ObjectReference, Value } from "./protobuf-msg";
|
|
4
4
|
import { ProtoType } from '../lib-client/protobuf-type';
|
|
5
5
|
export interface ExposedServices {
|
|
@@ -36,7 +36,7 @@ export declare class ObjectsConnector {
|
|
|
36
36
|
private messagingProc;
|
|
37
37
|
private readonly services;
|
|
38
38
|
private readonly clients;
|
|
39
|
-
constructor(msgSink: Observer<Envelope>, msgSrc:
|
|
39
|
+
constructor(msgSink: Observer<Envelope>, msgSrc: Subscribable<Envelope>, sides: 'clients' | 'services' | 'clients-and-services', listObj?: Caller['listObj'], listObjAsync?: Caller['listObjAsync']);
|
|
40
40
|
get caller(): Caller;
|
|
41
41
|
get exposedServices(): ExposedServices;
|
|
42
42
|
private stop;
|
|
@@ -63,7 +63,7 @@ export declare type ServiceToClient = 'interim' | 'end' | 'error';
|
|
|
63
63
|
export declare const msgProtoType: ProtoType<Envelope>;
|
|
64
64
|
export declare type ExposedFn = (reqBody: EnvelopeBody) => ({
|
|
65
65
|
promise?: Promise<EnvelopeBody>;
|
|
66
|
-
obs?:
|
|
66
|
+
obs?: Subscribable<EnvelopeBody>;
|
|
67
67
|
onCancel?: () => void;
|
|
68
68
|
} | void);
|
|
69
69
|
export declare type ExposedObj<T extends object> = {
|