We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf90e6 commit 0bac341Copy full SHA for 0bac341
seth/client_builder.go
@@ -373,6 +373,9 @@ func (c *ClientBuilder) WithEthClient(ethclient simulated.Client) *ClientBuilder
373
return c
374
}
375
376
+// WithHooks sets the hooks for the ClientBuilder configuration.
377
+// It allows users to define custom behavior during client operations.
378
+// The function returns the updated ClientBuilder instance for method chaining.
379
func (c *ClientBuilder) WithHooks(hooks Hooks) *ClientBuilder {
380
c.config.Hooks = &hooks
381
0 commit comments