2 instantiations of NativeCliEnumeratorResult
Aspire.Hosting.Native.Server (2)
Rpc\NativeBackchannelRpc.cs (2)
245
return
new
([_enumerator.Current], false);
249
return
new
([], true);
8 references to NativeCliEnumeratorResult
Aspire.Hosting.Native.Core.Tests (4)
NativeAuxiliaryBackchannelTests.cs (4)
260
var
first = await rpc.InvokeAsync<
NativeCliEnumeratorResult
>("$/enumerator/next", descriptor.Token);
263
var
last = await rpc.InvokeAsync<
NativeCliEnumeratorResult
>("$/enumerator/next", descriptor.Token);
Aspire.Hosting.Native.Server (4)
Cli\NativeCliDataTypes.cs (1)
52
[JsonSerializable(typeof(
NativeCliEnumeratorResult
))]
Rpc\NativeBackchannelProtocol.cs (1)
56
public static JsonElement EnumeratorResult(
NativeCliEnumeratorResult
result) =>
Rpc\NativeBackchannelRpc.cs (2)
117
var
next = await cursor.NextAsync(cancellation.Token).ConfigureAwait(false);
232
public async Task<
NativeCliEnumeratorResult
> NextAsync(CancellationToken cancellationToken)