Accepted.serve
property · packages/sync/src/journal.ts:412
readonly serve: (socket: HostSocket) => voidSync / foldkit-sync/journal
interface · packages/sync/src/journal.ts:411
interface Accepted {
readonly serve: (socket: HostSocket) => void
readonly abandon: () => void
}An upgrade documentHost accepted. Exactly one of the two must follow:
serve once the runtime has opened the socket, or abandon when it never
will (the client left, the runtime refused the handshake), which releases
what the upgrade built.
Accepted.serveproperty · packages/sync/src/journal.ts:412
readonly serve: (socket: HostSocket) => voidAccepted.abandonproperty · packages/sync/src/journal.ts:413
readonly abandon: () => void