Simple EventEmitter

emit and receive events!

目前為 2021-06-21 提交的版本,檢視 最新版本

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.gf.qytechs.cn/scripts/426233/942855/Simple%20EventEmitter.js

作者
Nuro#9818
版本
0.0.1.20210621181155
建立日期
2021-05-09
更新日期
2021-06-21
尺寸
325 位元組
授權條款
未知

Example usage:

var EventEmitter = require('events')

var e = new EventEmitter()
e.on('message', function (text) {
  console.log(text)
})
e.emit('message', 'hello world')

If you have any questions, here's my Discord:
Stew#4055

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址