Skip to content

Instantly share code, notes, and snippets.

@micHar
Created January 29, 2021 11:25
Show Gist options
  • Save micHar/c84435e366046ff9ec9c1066c51c0321 to your computer and use it in GitHub Desktop.
Save micHar/c84435e366046ff9ec9c1066c51c0321 to your computer and use it in GitHub Desktop.
public class SaveUserUseCaseIos(
private val wrapped: SaveUserUseCase
) {
public fun saveUser(user: User): SuspendWrapper<Unit> =
SuspendWrapper(exportedScopeProvider_mainScopeProvider) { wrapped.saveUser(user) }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment