Interface WebSocketCallback
-
- All Superinterfaces:
org.teavm.jso.JSObject
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface WebSocketCallback extends org.teavm.jso.JSObjectCallback function that is invoked from JavaScript for web socket events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonMessage(java.lang.String message)
-