Table of Contents

Method SaveAsync

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

SaveAsync(string, AgentDefinition, string, CancellationToken)

Saves personal context; cancellation is honored before mutation admission, then the save completes.

public Task SaveAsync(string userId, AgentDefinition agent, string body, CancellationToken ct = default)

Parameters

userId string
agent AgentDefinition
body string
ct CancellationToken

Returns

Task