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

class RPC

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

源代码
def __init__(self, on_calling: ON_CALLING_FUNC) -> None:
    self.on_calling = on_calling

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

说明: 调用

源代码
def call(self, args: tuple, kwargs: dict) -> Any:
    """
        调用
        """
    return self.on_calling(args, kwargs)

var ON_CALLING_FUNC = Callable[[tuple, dict], Any]

`,8),o=[l];function c(i,p){return a(),e("div",null,o)}const d=n(s,[["render",c],["__file","rpc.html.vue"]]),u=JSON.parse('{"path":"/dev/api/comm/rpc.html","title":"liteyuki.comm.rpc","lang":"zh-CN","frontmatter":{"title":"liteyuki.comm.rpc","description":"class RPC method __init__(self, on_calling: ON_CALLING_FUNC) -> None 源代码 method call(self, args: tuple, kwargs: dict) -> Any 说明: 调用 源代码 var ON_CALLING_FUNC = Callable[[tuple, di...","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":"class RPC method __init__(self, on_calling: ON_CALLING_FUNC) -> None 源代码 method call(self, args: tuple, kwargs: dict) -> Any 说明: 调用 源代码 var ON_CALLING_FUNC = Callable[[tuple, di..."}],["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":[]},{"level":3,"title":"method __init__(self, on_calling: ON_CALLING_FUNC) -> None","slug":"method-init-self-on-calling-on-calling-func-none","link":"#method-init-self-on-calling-on-calling-func-none","children":[]},{"level":3,"title":"method call(self, args: tuple, kwargs: dict) -> Any","slug":"method-call-self-args-tuple-kwargs-dict-any","link":"#method-call-self-args-tuple-kwargs-dict-any","children":[]},{"level":3,"title":"var ON_CALLING_FUNC = Callable[[tuple, dict], Any]","slug":"var-on-calling-func-callable-tuple-dict-any","link":"#var-on-calling-func-callable-tuple-dict-any","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.24,"words":73},"filePathRelative":"dev/api/comm/rpc.md","autoDesc":true}');export{d as comp,u as data};