Subscribe handler to a channel. Returns an unsubscribe function. Handlers fire in subscription order — callers control ordering by the order in which they subscribe (see runtime init-priority).
handler
Subscribe
handlerto a channel. Returns an unsubscribe function. Handlers fire in subscription order — callers control ordering by the order in which they subscribe (see runtime init-priority).