Source File
once.go
Belonging Package
go.pact.im/x/flaky
package flakyimport ()type onceExecutor struct{}// Once returns a new executor that does not retry operations. That is,// it executes the operation exactly once and returns the result.func () Executor {return (*onceExecutor)(nil)}// Execute implements the Executor interface.func (*onceExecutor) ( context.Context, Op) error {return unwrapInternal(())}
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)