Table of Contents

Method ReadDailyLogForDateAsync

Namespace
Oscova.Agents.Memory
Assembly
Oscova.Agents.dll

ReadDailyLogForDateAsync(string, DateOnly, CancellationToken)

Reads the user's daily log for an explicit local date.

public Task<string?> ReadDailyLogForDateAsync(string userId, DateOnly date, CancellationToken ct = default)

Parameters

userId string

The user whose daily log should be read.

date DateOnly

The local date associated with the log file.

ct CancellationToken

A token that can cancel the read.

Returns

Task<string?>

The stored daily log text, or null when no log exists.