-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
here is the proposed syntax:
var app = new abe.App();
app.socket.register(new SocketComm());
@:path("/chat")
class SocketComm implements ISocket {
function connection() {
socket.emit('a message', { that: 'only', '/chat': 'will get' });
emit(('a message', { everyone: 'in' , '/chat': 'will get' });
}
@:on("my other event")
function otherEvent(data : TypedData) {
trace(data);
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels