Closed Prince2k3 closed 2 years ago
Unable to use property element. It isn't public
element
To Reproduce Steps to reproduce the behavior:
let currentValue = AsyncStreams.CurrentValue<Int>(1) Task { for try await element in currentValue { print(element) } } print(currentValue.element) // error will occur
Expected behavior Expect that element is accessible
Environment:
resolved by https://github.com/AsyncCommunity/AsyncExtensions/pull/5. Thanks.
Unable to use property
element
. It isn't publicTo Reproduce Steps to reproduce the behavior:
Expected behavior Expect that
element
is accessibleEnvironment: