Table of Contents

Method AcceptAsync

Namespace
MailFathom.Application.Tasks
Assembly
MailFathom.Application.dll

AcceptAsync(UserId, PersonalTaskId, CancellationToken)

Turns one of a person's proposals into a task they owe.

Task<PersonalTaskChangeOutcome> AcceptAsync(UserId user, PersonalTaskId task, CancellationToken cancellationToken)

Parameters

user UserId

The person whose task is accepted, which is what scopes the write.

task PersonalTaskId

The task to accept.

cancellationToken CancellationToken

Cancels the read and the write.

Returns

Task<PersonalTaskChangeOutcome>

What became of the request.

Remarks

It moves the row's origin rather than writing a second task, so a commitment keeps the identity it was derived under and whatever already points at it — a reminder, a citation — still points at it afterwards.