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
userUserIdThe person whose task is accepted, which is what scopes the write.
taskPersonalTaskIdThe task to accept.
cancellationTokenCancellationTokenCancels 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.