Skip to content

Instantly share code, notes, and snippets.

@JoseAlcerreca
Last active July 15, 2020 08:09
Show Gist options
  • Save JoseAlcerreca/4df2e21ab7dd2f71efbafc2de2de0d5d to your computer and use it in GitHub Desktop.
Save JoseAlcerreca/4df2e21ab7dd2f71efbafc2de2de0d5d to your computer and use it in GitHub Desktop.
<!-- Copyright 2020 Google LLC.
SPDX-License-Identifier: Apache-2.0 -->
suspend fun doOneShot(param: String) : String =
retrofitClient.doSomething(param)
@bupont
Copy link

bupont commented Jul 14, 2020

Is it supposed to return a Flow?

@JoseAlcerreca
Copy link
Author

No, it's a one shot operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment