Remote / API
foldkit-remote-server/port
foldkit-remote-server/port: RemoteServer's handlers answering over a
MessagePort, the other end of foldkit-remote/port's port. A host in a
worker or a page hands it the port each conversation opens.
Functions
servePort | Serves handlers (RemoteServer.handlers(...)) over port, returning once the client closes its end; interrupt it to stop sooner. Provide what the handlers… |