Table of Contents

Method DeleteWhereAsync

Namespace
Oscova.Agents.Definitions
Assembly
Oscova.Agents.dll

DeleteWhereAsync(string, Func<string, string, Task<bool>>, CancellationToken)

Deletes existing context when the caller confirms its agent is no longer accessible.

public Task<int> DeleteWhereAsync(string userId, Func<string, string, Task<bool>> shouldDelete, CancellationToken ct = default)

Parameters

userId string
shouldDelete Func<string, string, Task<bool>>
ct CancellationToken

Returns

Task<int>