import{_ as i,c as a,a7 as e,o as n}from"./chunks/framework.jrU0lkHV.js";const c=JSON.parse('{"title":"liteyuki.session","description":"","frontmatter":{"title":"liteyuki.session","collapsed":true},"headers":[],"relativePath":"dev/api/session/index.md","filePath":"zh/dev/api/session/index.md","lastUpdated":null}'),t={name:"dev/api/session/index.md"};function l(h,s,r,o,d,p){return n(),a("div",null,s[0]||(s[0]=[e('
liteyuki.session
该模块参考并引用了nonebot-plugin-alconna的消息段定义
message_handler_thread(i_chans: Iterable[Chan[Any]])
参数:
- i_chans: 多路输入管道组
def message_handler_thread(i_chans: Iterable[Chan[Any]]):\n for msg in select(*i_chans):\n print('Recv from anybot', msg)