ChannelBrokerAction
是一个选项,指定信道代理服务器在发送消息之外要执行的操作.
范例
打开所有单元 关闭所有单元基本范例 (1)
bin = CreateDatabin[Permissions -> "Public"]channel = CreateChannel["databin", ChannelBrokerAction -> "https://datadrop.wolframcloud.com/api/v1.0/Add?bin=" <> bin["ShortID"], Permissions -> "Public"]ChannelSend[channel, "hello"]Lookup[ImportString[bin["Entries"][[1, "Message"]], "JSON"], "WL_Data"]DeleteObject[bin];
DeleteChannel[channel];属性和关系 (1)
部署 ChannelReceiverFunction 将会设置相关信道对象的 ChannelBrokerAction:
CloudDeploy[ChannelReceiverFunction[#&]]Options[ChannelObject[%], ChannelBrokerAction]DeleteChannel[ChannelObject[%%]];相关指南
-
▪
- 信道通信
文本
Wolfram Research (2017),ChannelBrokerAction,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ChannelBrokerAction.html.
CMS
Wolfram 语言. 2017. "ChannelBrokerAction." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ChannelBrokerAction.html.
APA
Wolfram 语言. (2017). ChannelBrokerAction. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ChannelBrokerAction.html 年
BibTeX
@misc{reference.wolfram_2026_channelbrokeraction, author="Wolfram Research", title="{ChannelBrokerAction}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/ChannelBrokerAction.html}", note=[Accessed: 12-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_channelbrokeraction, organization={Wolfram Research}, title={ChannelBrokerAction}, year={2017}, url={https://reference.wolfram.com/language/ref/ChannelBrokerAction.html}, note=[Accessed: 12-August-2026]}