WithExecutionTimeout sets the WASM execution timeout
(timeout time.Duration)
| 96 | |
| 97 | // WithExecutionTimeout sets the WASM execution timeout |
| 98 | func WithExecutionTimeout(timeout time.Duration) Option { |
| 99 | return func(opts *Options) { |
| 100 | opts.ExecutionTimeout = timeout |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | // WithLogger sets the WASM engine logger |
| 105 | func WithLogger(logger *zerolog.Logger) Option { |
no outgoing calls