I have the following function: ```fun foo(bar: Pr...
# announcements
t
I have the following function:
Copy code
fun foo(bar: Promise<AccessToken?>) {
	...
}
Sometimes I need to feed that funtion a
Promise<AccessToken>
(which is not optional). The foo function does not accept this type. How could I fix this?