Exports
ActivatedExtension
One validated namespace module and its authored singleton.— means no declared default):
Parameters and example
Parameters and example
Extension
Application-owned extension with task-local invocation context.Parameters and example
Parameters and example
Extension.start
Parameters and example
Parameters and example
Extension.stop
Example
Example
Extension.create_context
Parameters and example
Parameters and example
Extension.context
Return the task-local extension context for the active invocation.Example
Example
ExtensionContext
Revocable invocation base that extension-specific contexts may extend.Parameters and example
Parameters and example
ExtensionContext.extension_name
Return the extension whose invocation authority this context carries.Example
Example
ExtensionContext.active
Report whether the owning managed invocation is still active.Example
Example
ExtensionContext.continuations
Return provider-bound suspension authority for this invocation.Example
Example
ExtensionContextUnavailableError
An extension context was used outside its managed invocation.Example
Example
ExtensionImportError
An authored extension module violates its export contract.Example
Example
ExtensionNamespaceError
An extension namespace cannot be activated or safely released.Example
Example
ExtensionStartContext
Application facts available while one same-process extension starts. The context deliberately excludes invocation credentials and framework storage authorities. Extensions may reuse only explicitly named application storage whose lifecycle Harnest has already started. Obtain this object from the owning Harnest API; its constructor includes runtime bindings. Fields (— means no declared default):
Example
Example
ExtensionStartContext.storage
Parameters and example
Parameters and example
ExtensionStartContext.continuations
Return provider-bound completion authority when explicitly declared.Example
Example
activate_extensions
Activate a dependency-ordered extension set as one namespace transaction.Parameters and example
Parameters and example
extension_mutation
Audit one exact durable operation after commit or on correlated failure.Parameters and example
Parameters and example
extension_namespaces
Activate extensions for one bounded compiler or test operation.Parameters and example
Parameters and example
release_extensions
Release one acquisition without disturbing a competing extension set.Parameters and example
Parameters and example