SetPost sets the PostFunc. Receives []any prep and []any exec results.
(f func(ctx *PfContext, params map[string]any, prepResult []any, execResult []any) (string, error))
| 399 | |
| 400 | // SetPost sets the PostFunc. Receives []any prep and []any exec results. |
| 401 | func (bn *BatchNode) SetPost(f func(ctx *PfContext, params map[string]any, prepResult []any, execResult []any) (string, error)) *BatchNode { |
| 402 | bn.PostFunc = f |
| 403 | return bn |
| 404 | } |
| 405 | |
| 406 | // SetItemFallback sets the ExecItemFallbackFunc. |
| 407 | func (bn *BatchNode) SetItemFallback(f func(ctx *PfContext, params map[string]any, item any, lastErr error) (any, error)) *BatchNode { |
nothing calls this directly
no outgoing calls
no test coverage detected