Skip to main content

OutboxLifecycleCompletionError

Type Alias OutboxLifecycleCompletionError 

Source
pub type OutboxLifecycleCompletionError = TransactionalOutboxCompletionError;
Expand description

English:
Alias for TransactionalOutboxCompletionError used when checking lifecycle completion.

日本語:
ライフサイクルの完了確認に使う TransactionalOutboxCompletionError の別名です。

Aliased Type§

pub enum OutboxLifecycleCompletionError {
    MissingEnqueue,
    EnqueueFailedConsumed,
}

Variants§

§

MissingEnqueue

English:
No enqueue attempt was made before completion.

日本語:
完了確認までに登録が試行されていません。

§

EnqueueFailedConsumed

English:
An attempt started but did not record success; pulled events are not restored. This state is set before pulling events, so it also covers an unwound attempt if the caller catches a panic and later completes the context.

日本語:
試行が開始されましたが、成功が記録されていません。取り出したイベントは復元しません。 この状態はイベントの取り出し前に設定するため、呼び出し側がパニックを捕捉して後で 完了確認した場合は、巻き戻された試行も含みます。