会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
simple-love
Figure out what you like. Try to become the best in the world of it.
首页
新随笔
订阅
管理
2024年3月14日
实现eventEmmiter,发布-订阅 模式 (on, emit, off)
摘要: /* * @Date: 2024-03-14 15:46:52 * @Description: Modify here please */ interface SubscribeEvent { fn: Function; once: boolean; } class EventEmmiter { s
阅读全文
posted @ 2024-03-14 15:52 simple-love
阅读(66)
评论(0)
推荐(0)
编辑
My GitHub