Atmosphere / wasync

WebSockets with fallback transports client library for Node.js, Android and Java
http://async-io.org
161 stars 47 forks source link

Very small doc issue #134

Closed supertick closed 7 years ago

supertick commented 9 years ago

Latest release has the following example :

socket.on(new Function() { @Override public void on(Reader r) { // Read the response } }).on(new Function() {

            @Override
            public void on(Throwable t) {
                // Some IOException occurred
            }

Looks like the interface was changed to @Override public void on(IOException arg0) { }

Cheers !

jfarcand commented 9 years ago

@supertick Link to the error? Thanks!

supertick commented 9 years ago

https://github.com/Atmosphere/wasync

example - starts with "As simple as"

thabach commented 7 years ago

@supertick corrected with 07d2a783c1473330dcc50588ae69d409c3110e7c - thx !