| 145 | } |
| 146 | |
| 147 | type FunctionRuntime struct { |
| 148 | api.FunctionRuntime |
| 149 | callFunc func(e contube.Record) (contube.Record, error) |
| 150 | stopFunc func() |
| 151 | log *common.Logger |
| 152 | } |
| 153 | |
| 154 | func (r *FunctionRuntime) Call(e contube.Record) (contube.Record, error) { |
| 155 | return r.callFunc(e) |
nothing calls this directly
no outgoing calls
no test coverage detected