Annotation Type Receive


  • @Documented
    @Target(METHOD)
    @Retention(RUNTIME)
    public @interface Receive
    Returns an infinite Stream of WebSocket.Event or Message. Note: this is declared as a Java annotation because Scarlet uses java reflection API which can not access Kotlin annotations.