in shared/src/webMain/kotlin/org/jetbrains/kotlinconf/ServiceWorkerLocalNotificationService.kt [20:37]
override fun post(
localNotificationId: LocalNotificationId,
title: String,
message: String,
time: LocalDateTime?,
) {
val delay = if (time != null) {
timeProvider.getNotificationDelay(time).inWholeMilliseconds
} else {
0
}
registerNotificationByServiceWorker(
delay = delay,
notificationId = localNotificationId.toString(),
title = title,
message = message,
)
}