MCPcopy Index your code
hub / github.com/FunctionStream/function-stream / WithStateStoreLoader

Function WithStateStoreLoader

server/server.go:154–159  ·  view source on GitHub ↗
(loader func(c *StateStoreConfig) (api.StateStore, error))

Source from the content-addressed store, hash-verified

152}
153
154func WithStateStoreLoader(loader func(c *StateStoreConfig) (api.StateStore, error)) ServerOption {
155 return serverOptionFunc(func(o *serverOptions) (*serverOptions, error) {
156 o.stateStoreLoader = loader
157 return o, nil
158 })
159}
160
161func WithLogger(log *logr.Logger) ServerOption {
162 return serverOptionFunc(func(c *serverOptions) (*serverOptions, error) {

Callers

nothing calls this directly

Calls 1

serverOptionFuncFuncType · 0.85

Tested by

no test coverage detected