import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.C4_mTacX.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}'),e={name:"dev/api/comm/rpc.md"},n=t('

模块 liteyuki.comm.rpc

本模块用于实现RPC(基于IPC)通信

class RPC


func __init__(self, on_calling: ON_CALLING_FUNC) -> None

源代码在GitHub上查看
python
def __init__(self, on_calling: ON_CALLING_FUNC) -> None:\n    self.on_calling = on_calling

func call(self, args: tuple, kwargs: dict) -> Any

说明: 调用

源代码在GitHub上查看
python
def call(self, args: tuple, kwargs: dict) -> Any:\n    return self.on_calling(args, kwargs)
',10),l=[n];function c(h,r,p,o,k,d){return a(),i("div",null,l)}const m=s(e,[["render",c]]);export{u as __pageData,m as default};