Table of Contents

Class EventGroupScope

Namespace
Temporalio.Workflows
Assembly
Temporalio.dll

Disposable scope returned by WithEventGroups(params EventGroup[]). Commands produced while this is undisposed carry the Event Groups passed to that call, composed with any enclosing scopes.

public sealed class EventGroupScope : IDisposable
Inheritance
EventGroupScope
Implements
Inherited Members

Remarks

Dispose nested scopes in reverse order of creation. Disposing a scope that is not the active one throws InvalidOperationException and leaves the active scope in place.

WARNING: Event Groups are experimental.

Methods

Dispose()

Restores the Event Groups that were active when this scope was created.

public void Dispose()

Exceptions

InvalidOperationException

This scope is not the active scope. Nested scopes must be disposed first. The active scope is left unchanged, and this scope can be disposed after them.