Closed supertick closed 7 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 !
@supertick Link to the error? Thanks!
https://github.com/Atmosphere/wasync
example - starts with "As simple as"
@supertick corrected with 07d2a783c1473330dcc50588ae69d409c3110e7c - thx !
Latest release has the following example :
socket.on(new Function() {
@Override
public void on(Reader r) {
// Read the response
}
}).on(new Function() {
Looks like the interface was changed to @Override public void on(IOException arg0) { }
Cheers !