Closed returns a channel that is closed when the RPC connection is closed.
()
| 104 | |
| 105 | // Closed returns a channel that is closed when the RPC connection is closed. |
| 106 | func (n *Notifier) Closed() <-chan interface{} { |
| 107 | return n.codec.Closed() |
| 108 | } |
| 109 | |
| 110 | // unsubscribe a subscription. |
| 111 | // If the subscription could not be found ErrSubscriptionNotFound is returned. |