import{_ as n,o as a,c as e,e as t}from"./app-BvUYPzLF.js";const s={},o=t(`

liteyuki.comm.rpc

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

class RPC

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

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

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

说明: 调用

源代码在GitHub上查看
def call(self, args: tuple, kwargs: dict) -> Any:
    """
        调用
        """
    return self.on_calling(args, kwargs)
`,8),l=[o];function c(i,p){return a(),e("div",null,l)}const u=n(s,[["render",c],["__file","rpc.html.vue"]]),d=JSON.parse('{"path":"/dev/api/comm/rpc.html","title":"liteyuki.comm.rpc","lang":"zh-CN","frontmatter":{"title":"liteyuki.comm.rpc","lastUpdated":false,"description":"liteyuki.comm.rpc 说明: 本模块用于实现RPC(基于IPC)通信 class RPC def __init__(self, on_calling: ON_CALLING_FUNC) -> None 源代码 或 在GitHub上查看 def call(self, args: tuple, kwargs: dict) -> Any 说明:...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/comm/rpc.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/comm/rpc.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.comm.rpc"}],["meta",{"property":"og:description","content":"liteyuki.comm.rpc 说明: 本模块用于实现RPC(基于IPC)通信 class RPC def __init__(self, on_calling: ON_CALLING_FUNC) -> None 源代码 或 在GitHub上查看 def call(self, args: tuple, kwargs: dict) -> Any 说明:..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm.rpc\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class RPC","slug":"class-rpc","link":"#class-rpc","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.37,"words":110},"filePathRelative":"dev/api/comm/rpc.md","autoDesc":true}');export{u as comp,d as data};