method
TypedGlobal.With
With binds a generated global definition to a running application.
Arguments
| Argument | Type | Description |
|---|---|---|
local | *LocalAPI | The local value. |
Returns
The declared result.
BoundTypedGlobal[Document, Update, Draft]Full signature
func (global TypedGlobal[Document, Update, Draft]) With(
local *LocalAPI,
) BoundTypedGlobal[Document, Update, Draft]Related types
TypedGlobalGenerated typed definition for one global.
LocalAPIIn-process content operations that share the REST authorization and lifecycle pipeline.
BoundTypedGlobalTyped singleton methods for reads, working drafts, publication, restoration, and discard.