MultiProcessCoordinatorKt

Added in 1.1.1

public final class MultiProcessCoordinatorKt


Summary

Public methods

static final @NonNull InterProcessCoordinator

Create a coordinator for multiple process use cases.

Public methods

createMultiProcessCoordinator

public static final @NonNull InterProcessCoordinator createMultiProcessCoordinator(
    @NonNull CoroutineContext context,
    @NonNull File file
)

Create a coordinator for multiple process use cases.

Parameters
@NonNull CoroutineContext context

the coroutine context to be used by the MultiProcessCoordinator for IO operations.

@NonNull File file

the File in which DataStore stores the data.