localizeDiffAsFlow

fun Instant.localizeDiffAsFlow(options: TickingDurationOptions = TickingDurationOptions(), locale: PlatformLocale = getDefaultLocale(), clock: Clock = Clock.System): Flow<String>(source)

Calculates the diff between this Instant and clock, and localizes the result with the given options in the given locale, returning a Flow that automatically receives new localizations as they are needed.

See also