(reason string)
| 144 | } |
| 145 | |
| 146 | func (c *ClientImpl) doShutdown(reason string) { |
| 147 | c.Lock.Lock() |
| 148 | defer c.Lock.Unlock() |
| 149 | if c.IsDone { |
| 150 | return |
| 151 | } |
| 152 | c.DoneReason = reason |
| 153 | c.IsDone = true |
| 154 | close(c.DoneCh) |
| 155 | } |
| 156 | |
| 157 | func (c *ClientImpl) SetGlobalEventHandler(handler func(event vdom.VDomEvent)) { |
| 158 | c.GlobalEventHandler = handler |
no outgoing calls
no test coverage detected