public interface ReturnChannelRegistration extends Registration
ReturnChannelMap.registerChannel(com.vaadin.flow.function.SerializableConsumer).
The registration can be passed as a parameter to various
executeJavaScript methods and will be represented on the client
as a function that calls the registered handler.
For internal use only. May be renamed or removed in a future release.
| Modifier and Type | Method and Description |
|---|---|
int |
getChannelId()
Gets the id that identifies this channel within its state node.
|
DisabledUpdateMode |
getDisabledUpdateMode()
Gets the setting for whether this channel will receive updates in case
the state node is disabled.
|
int |
getStateNodeId()
Gets the id of the state node to which the return channel belongs.
|
void |
invoke(elemental.json.JsonArray arguments)
Invokes the channel handler with the give arguments.
|
ReturnChannelRegistration |
setDisabledUpdateMode(DisabledUpdateMode disabledUpdateMode)
Sets whether this channel will receive updates in case the state node is
disabled.
|
addAndRemove, combine, once, removeint getStateNodeId()
int getChannelId()
void invoke(elemental.json.JsonArray arguments)
arguments - a JSON array containing passed from the client, not
nullDisabledUpdateMode getDisabledUpdateMode()
nullReturnChannelRegistration setDisabledUpdateMode(DisabledUpdateMode disabledUpdateMode)
disabledUpdateMode - the disabled update mode to use, not nullCopyright © 2025. All rights reserved.