Uses of Interface
com.vaadin.flow.internal.nodefeature.ReturnChannelRegistration
Packages that use ReturnChannelRegistration
Package
Description
Trigger API and its internal wiring.
-
Uses of ReturnChannelRegistration in com.vaadin.flow.component.trigger.internal
Methods in com.vaadin.flow.component.trigger.internal with parameters of type ReturnChannelRegistrationModifier and TypeMethodDescriptionTriggerJs.callChannel(ReturnChannelRegistration channel) An action that calls a return channel without a value.TriggerJs.reportOutcome(JsFunction promise, ReturnChannelRegistration channel) An action that runs a promise-returning action and reports the outcome of the promise to a return channel, as{ok, value}when it resolves or as{ok, error: {name, message}}when it rejects.TriggerJs.sendToChannel(ReturnChannelRegistration channel, JsFunction source) An action that sends the value of an input to a return channel. -
Uses of ReturnChannelRegistration in com.vaadin.flow.internal.nodefeature
Methods in com.vaadin.flow.internal.nodefeature that return ReturnChannelRegistrationModifier and TypeMethodDescriptionReturnChannelMap.get(int channelId) Gets the return channel registration registered with the provided id, ornullif no channel is registered with that id.ReturnChannelMap.registerChannel(SerializableBiConsumer<tools.jackson.databind.node.ArrayNode, ReturnChannelRegistration> handler) Registers a new channel based on a callback that receives the provided arguments and the channel registration when a message is passed to the channel.ReturnChannelMap.registerChannel(SerializableConsumer<tools.jackson.databind.node.ArrayNode> handler) Registers a new channel based on a callback that receives the provided arguments when a message is passed to the channel.ReturnChannelRegistration.setDisabledUpdateMode(DisabledUpdateMode disabledUpdateMode) Sets whether this channel will receive updates in case the state node is disabled.Method parameters in com.vaadin.flow.internal.nodefeature with type arguments of type ReturnChannelRegistrationModifier and TypeMethodDescriptionReturnChannelMap.registerChannel(SerializableBiConsumer<tools.jackson.databind.node.ArrayNode, ReturnChannelRegistration> handler) Registers a new channel based on a callback that receives the provided arguments and the channel registration when a message is passed to the channel.