CollectiveValueAsync<V> constructor

const CollectiveValueAsync<V>(
  1. CollectiveValue<V> collective
)

Creates an async wrapper around an existing CollectiveValue.

Typically accessed via the CollectiveValue.async getter rather than constructed directly.

final asyncValue = myValue.async; // Preferred access

Implementation

const CollectiveValueAsync(super.collective);