To send data to Ray whenever it updates, use the useRay hook along with the type option to specify the type of data you are sending.
The booleanreplace option can be used to update the Ray item in place when its dependencies change. The default value for replace is false.
Valid types are image, json, html, text, or xml. See the node-ray documentation for more information on these types.