function
WithStore
Install the required lifecycle-owned document store.
Arguments
| Argument | Type | Description |
|---|---|---|
factory | StoreFactory | Lazy document-store constructor. |
Returns
An opaque option applied by Execute in argument order.
ExecuteOptionFull signature
func WithStore(factory StoreFactory) ExecuteOptionRelated types
StoreFactoryLazy lifecycle-owned document-store constructor.
ExecuteOptionOpaque production lifecycle option accepted by Execute.