migrate object to data object (#1135)

This commit is contained in:
Benoit Marty
2023-08-24 09:32:44 +02:00
parent 4218a836d5
commit 7083abcf09
98 changed files with 314 additions and 357 deletions
@@ -63,7 +63,7 @@ sealed interface Async<out T> {
/**
* Represents an uninitialized operation (i.e. yet to be run).
*/
object Uninitialized : Async<Nothing>
data object Uninitialized : Async<Nothing>
/**
* Returns the data returned by the operation, or null otherwise.