BAEL-5908: Single.just vs fromCallable

This commit is contained in:
emanueltrandafir1993
2022-12-02 00:48:50 +01:00
parent 0484640a06
commit f8a341aaa8
5 changed files with 109 additions and 0 deletions
@@ -0,0 +1,5 @@
package com.baeldung.rxjava.justvscallable;
public interface EmployeeRepository {
String findById(Long id);
}
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
</pattern>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>