Run client-side JS code in the client.
Make a fetch request from the client.
Get the value of a key that was set using client.set.
Return a value to the client so that it can use it.
Save a value on the client. In a normal web browser, this would translate into a cookie, or a localStorage/sessionStorage item.