AppAuth-Android icon indicating copy to clipboard operation
AppAuth-Android copied to clipboard

RetrieveConfigurationCallback interface's onFetchConfigurationCompleted() cancellation

Open Arnaudv6 opened this issue 3 years ago • 0 comments

Feature Request

RetrieveConfigurationCallback interface's onFetchConfigurationCompleted())

Motivation

In kotlin, we can wrap this in a callbackFlow. If we had the callback object, or such a method, we could cancel the callback when we no longer need its output, with awaitClose.

Description

for the moment, we just use an empty awaitClose

I'll try to come up with a PR in few weeks. Don't wait for me though.

Arnaudv6 avatar Jan 19 '22 14:01 Arnaudv6