Coroutines and Java Synchronization Don’t Mix

Suppose you’ve got a critical section of code, meaning only one process should execute it at a time. In the Java world, one solution is to slap synchronized on the method and call it a day. In Kotlin, we use @Synchronized to get the same effect: repeat(… Read more



A small and easy-to-use one-time password generator library for Java according to RFC 4226 (HOTP) and RFC 6238 (TOTP). - BastiaanJansen/OTP-Java... (more…)

Read more »