import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.BZiUP1E-.js";const u=JSON.parse('{"title":"liteyuki.comm.rpc","description":"","frontmatter":{"title":"liteyuki.comm.rpc"},"headers":[],"relativePath":"dev/api/comm/rpc.md","filePath":"zh/dev/api/comm/rpc.md","lastUpdated":null}'),n={name:"dev/api/comm/rpc.md"},e=t('
说明: 本模块用于实现RPC(基于IPC)通信
RPC
__init__(self, on_calling: ON_CALLING_FUNC) -> None
def __init__(self, on_calling: ON_CALLING_FUNC) -> None:\n self.on_calling = on_calling
call(self, args: tuple, kwargs: dict) -> Any
说明: 调用
def call(self, args: tuple, kwargs: dict) -> Any:\n """\n 调用\n """\n return self.on_calling(args, kwargs)