Done returns a channel that will be closed when Fire is called.
()
| 47 | |
| 48 | // Done returns a channel that will be closed when Fire is called. |
| 49 | func (e *Event) Done() <-chan struct{} { |
| 50 | return e.c |
| 51 | } |
| 52 | |
| 53 | // HasFired returns true if Fire has been called. |
| 54 | func (e *Event) HasFired() bool { |
no outgoing calls