mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
27 lines
728 B
C#
27 lines
728 B
C#
using OmniSharp.Extensions.DebugAdapter.Protocol.Requests;
|
|
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using DapThread = OmniSharp.Extensions.DebugAdapter.Protocol.Models.Thread;
|
|
|
|
namespace Microsoft.Iris.DebugAdapter.Server.Handlers;
|
|
|
|
internal class ThreadsHandler : ThreadsHandlerBase
|
|
{
|
|
public override Task<ThreadsResponse> Handle(ThreadsArguments request, CancellationToken cancellationToken)
|
|
{
|
|
List<DapThread> threads = [
|
|
new DapThread
|
|
{
|
|
Id = 0,
|
|
Name = "Main Thread"
|
|
}
|
|
];
|
|
|
|
return Task.FromResult(new ThreadsResponse
|
|
{
|
|
Threads = threads
|
|
});
|
|
}
|
|
}
|