PrependWatchReactor adds a reactor to the beginning of the chain.
(resource string, reaction WatchReactionFunc)
| 111 | |
| 112 | // PrependWatchReactor adds a reactor to the beginning of the chain. |
| 113 | func (c *Fake) PrependWatchReactor(resource string, reaction WatchReactionFunc) { |
| 114 | c.WatchReactionChain = append([]WatchReactor{&SimpleWatchReactor{resource, reaction}}, c.WatchReactionChain...) |
| 115 | } |
| 116 | |
| 117 | // AddProxyReactor appends a reactor to the end of the chain. |
| 118 | func (c *Fake) AddProxyReactor(resource string, reaction ProxyReactionFunc) { |
no outgoing calls