Table of Contents

Method ReadPostureAcrossAccountsOfAsync

Namespace
MailFathom.Application.SensitiveContent.Egress
Assembly
MailFathom.Application.dll

ReadPostureAcrossAccountsOfAsync(UserId, CancellationToken)

Reads what a read spanning every account of one user is scanned under, for that read to act for.

public Task<UserSensitiveContentPosture> ReadPostureAcrossAccountsOfAsync(UserId user, CancellationToken cancellationToken)

Parameters

user UserId

The user the use case resolved.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<UserSensitiveContentPosture>

The posture, which ActingFor(UserSensitiveContentPosture) enters.

Remarks

Read apart from entering the scope, because the scope is set on the flow that enters it, and an asynchronous method sets anything it sets on a flow of its own that ends when it returns. So a use case reads the posture and then enters it, in that order, on its own flow.