Hello Team, I have a suspend function named 'build...
# coroutines
p
Hello Team, I have a suspend function named 'build' that returns Either<Model, Error> and I'm this using member reference as: val res = builder::build where 'res' type = KSuspendFunction0<Either<Model, ApiError>> However, I am expecting 'res' type should be: KSuspendFunction0*<Model?,* <Either<Model, Error>>> whereas, in a normal scenario when I am calling: val res = builder.build() the 'res' type is as expected as Either<Model, Error>. Am I missing something?
e
https://kotlinlang.org/community/slackccugl.html
Please refrain from crossposting the same message on multiple channels. It is considered spamming.