Skip to content

Commit dcc2769

Browse files
committed
1.0.5 released
1 parent d59ec85 commit dcc2769

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,9 @@ private UidGenerator cachedUidGenerator;
223223
@Test
224224
public void testSerialGenerate() {
225225
// Generate UID
226-
Mono<Long> uid = cachedUidGenerator.getUID();
226+
cachedUidGenerator.getUID().flatMap(id -> {
227+
Do your`s ...
228+
});
227229

228230
// Parse UID into [Timestamp, WorkerId, Sequence]
229231
// {"UID":"450795408770","timestamp":"2019-02-20 14:55:39","workerId":"27","sequence":"2"}

0 commit comments

Comments
 (0)