Table of Contents

Method GetAsync

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

GetAsync(string, AgentDefinition, CancellationToken)

Returns the saved personal-context body, or an empty string when no file exists.

public Task<string> GetAsync(string userId, AgentDefinition agent, CancellationToken ct = default)

Parameters

userId string
agent AgentDefinition
ct CancellationToken

Returns

Task<string>