FinalFunc registers a function that is always called as a last one after pre-, handler and post- functions for the given method. It receives a result and an error from last handler that got executed prior to calling final func.
(f FinalFunc)
| 152 | // It receives a result and an error from last handler that |
| 153 | // got executed prior to calling final func. |
| 154 | func (m *Method) FinalFunc(f FinalFunc) *Method { |
| 155 | m.finalFuncs = append(m.finalFuncs, f) |
| 156 | return m |
| 157 | } |
| 158 | |
| 159 | // Handle registers the handler for the given method. The handler is called |
| 160 | // when a method call is received from a Kite. |
nothing calls this directly
no outgoing calls
no test coverage detected