package config
import "github.com/ydb-platform/ydb-go-sdk/v3/scripting/config"
Index ¶
Types ¶
type Config ¶
type Config interface { // OperationTimeout is the maximum amount of time a YDB server will process // an operation. After timeout exceeds YDB will try to cancel operation and // regardless of the cancellation appropriate error will be returned to // the client. // If OperationTimeout is zero then no timeout is used. OperationTimeout() time.Duration // OperationCancelAfter is the maximum amount of time a YDB server will process an // operation. After timeout exceeds YDB will try to cancel operation and if // it succeeds appropriate error will be returned to the client; otherwise // processing will be continued. // If OperationCancelAfter is zero then no timeout is used. OperationCancelAfter() time.Duration // Trace defines trace over scripting client calls Trace() trace.Scripting }
func New ¶
type Option ¶
type Option func(c *config)
func WithOperationCancelAfter ¶
func WithOperationTimeout ¶
func WithTrace ¶
Source Files ¶
- Version
- v3.16.5
- Published
- Mar 22, 2022
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 31 minutes ago –
Tools for package owners.