Runtime API / Method

ComponentInstanceHandle.on

Subscribe to a typed business event and receive an idempotent disposer.

使用说明

请参考类型签名和参数定义,或返回 API 总览查看相关接口。

参数

eventK
handler{ ... }