post-me

Home > post-me > RemoteHandle

RemoteHandle interface

A handle to the other end of the connection

Signature:

export interface RemoteHandle<M extends MethodsType = any, E extends EventsType = any> extends Emitter<E> 

Extends: Emitter<E>

Remarks

Use this handle to:

Methods

Method Description
call(methodName, args) Call a method exposed by the other end.
customCall(methodName, args, options) Call a method exposed by the other end.
setCallTransfer(methodName, transfer) Specify which parts of the arguments of a given method call should be transferred into the other context instead of cloned.