Public Access
Add inactivity safeguard and speaker diagnostics
PR and Push Build/Test / build-and-test (push) Failing after 8m31s
PR and Push Build/Test / build-and-test (push) Failing after 8m31s
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
namespace MeetingAssistant.Recording;
|
||||
|
||||
public interface IMeetingInactivityClock
|
||||
{
|
||||
DateTimeOffset Now { get; }
|
||||
|
||||
Task DelayAsync(TimeSpan delay, CancellationToken cancellationToken);
|
||||
}
|
||||
|
||||
public sealed class SystemMeetingInactivityClock : IMeetingInactivityClock
|
||||
{
|
||||
public DateTimeOffset Now => DateTimeOffset.Now;
|
||||
|
||||
public Task DelayAsync(TimeSpan delay, CancellationToken cancellationToken)
|
||||
{
|
||||
return Task.Delay(delay, cancellationToken);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user