@36node/bus-messenger 中文文档教程
@36node/bus-messenger
Install
yarn add module
Usage
const Messenger, { TBoxStation } = require("@36node/bus-messenger");
const tbox = new TBoxStation((data, push) => {
push(data);
});
messenger
.from("test")
.pass(tbox)
.deliver(writer);
Test
yarn test
Mac OS High Sierra / Mojave
OpenSSL 已在 High Sierra 中升级,自制软件不会覆盖默认系统库。 这意味着在构建 node-rdkafka 时,因为您使用的是 openssl,所以您需要告诉链接器在哪里可以找到它:
export CPPFLAGS=-I/usr/local/opt/openssl/include
export LDFLAGS=-L/usr/local/opt/openssl/lib
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
在贡献者 (list) 的帮助下由 36node 创作和维护。
GitHub @36node
@36node/bus-messenger
Install
yarn add module
Usage
const Messenger, { TBoxStation } = require("@36node/bus-messenger");
const tbox = new TBoxStation((data, push) => {
push(data);
});
messenger
.from("test")
.pass(tbox)
.deliver(writer);
Test
yarn test
Mac OS High Sierra / Mojave
OpenSSL has been upgraded in High Sierra and homebrew does not overwrite default system libraries. That means when building node-rdkafka, because you are using openssl, you need to tell the linker where to find it:
export CPPFLAGS=-I/usr/local/opt/openssl/include
export LDFLAGS=-L/usr/local/opt/openssl/lib
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
module © 36node, Released under the MIT License.
Authored and maintained by 36node with help from contributors (list).
GitHub @36node
更多
你可能也喜欢
- @01ht/ht-end-drawer-nav 中文文档教程
- @1productaweek/react-wait-for-window 中文文档教程
- @aalibarre/lotide 中文文档教程
- @abetomo/google-drive-cleaner 中文文档教程
- @abtasty/scratchcard 中文文档教程
- @abtnode/constant 中文文档教程
- @abtnode/nedb 中文文档教程
- @accateo/from_dec_to_hex 中文文档教程
- @acentswap/chains-terra 中文文档教程
- @activfinancial/oneapi-orderbook-viewer 中文文档教程