In Java, there appears to be a method withAsync() to enable Async operation

// Enable asynchronous mode.
IgniteCompute asyncCompute = ignite.compute().withAsync();

What is the equivalent in c#/.net?

Follow up - How do I register a callback to the Async closure? Similar to :

asyncCompute.future().listenAsync(fut -> {
    // Total number of characters.
    int total = fut.get().stream().mapToInt(Integer::intValue).sum();

    System.out.println("Total number of characters: " + total);

thank you

Reply via email to