You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
524 B
10 lines
524 B
import { RpcMessagePort } from './RpcMessagePort'; |
|
interface RpcMessageChannel { |
|
readonly servicePort: RpcMessagePort; |
|
readonly clientPort: RpcMessagePort; |
|
readonly isOpen: () => boolean; |
|
readonly open: () => Promise<void>; |
|
readonly close: () => Promise<void>; |
|
} |
|
declare function createRpcMessageChannel(servicePort: RpcMessagePort, clientPort: RpcMessagePort, linkPorts?: () => Promise<void>, unlinkPorts?: () => Promise<void>): RpcMessageChannel; |
|
export { RpcMessageChannel, createRpcMessageChannel };
|
|
|