Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
faizakram authored Nov 15, 2017
1 parent a1d5b72 commit d653010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
#org.springframework.web.servlet.mvc.method.annotation.SseEmitter

#When calling
<code>
<pre>
eventBus.createSseEmitter(id, SseEvent.DEFAULT_EVENT);
// it calls SseEventBus -->
public SseEmitter createSseEmitter(String clientId, Long timeout, boolean unsubscribe,
boolean completeAfterMessage, String... events)
SseEmitter emitter = new SseEmitter(timeout);
</code>
</pre>

0 comments on commit d653010

Please sign in to comment.