Greylock
06/17/2021, 8:05 PMbrett
06/17/2021, 8:33 PMmaxastuart
06/17/2021, 10:16 PMnew WebSocketPair();
in durable objects?jamis0n
06/17/2021, 10:22 PMGreylock
06/17/2021, 10:22 PMGreylock
06/17/2021, 10:22 PMGreylock
06/17/2021, 10:23 PMGreylock
06/17/2021, 10:23 PMGreylock
06/17/2021, 10:23 PMjamis0n
06/17/2021, 10:23 PMGreylock
06/17/2021, 10:23 PMjamis0n
06/17/2021, 10:24 PMGreylock
06/17/2021, 10:24 PMjamis0n
06/17/2021, 10:25 PMnew Y.Doc()
) in memoryVanessa🦩
06/17/2021, 10:26 PMGreylock
06/17/2021, 10:26 PMGreylock
06/17/2021, 10:26 PMjamis0n
06/17/2021, 10:30 PMjamis0n
06/17/2021, 10:30 PMjamis0n
06/17/2021, 10:31 PMGreylock
06/17/2021, 11:54 PMGreylock
06/17/2021, 11:54 PMGreylock
06/17/2021, 11:55 PMGreylock
06/17/2021, 11:55 PMjamis0n
06/18/2021, 12:23 AMws
websocket object and I'm not sure how to create that based on the WebSocket
instance available in the workerDeebster
06/18/2021, 11:13 AMtype WorkerEnv = {
foo: DurableObjectNamespace;
bar: KVNamespace;
}
maxastuart
06/18/2021, 4:03 PM// types DurableObject & DurableObjectState are from '@cloudflare/workers-types'
class BaseDurableObject extends DurableObject {
constructor(controller: DurableObjectState, env: WorkerEnv) {}
}
Deebster
06/18/2021, 4:13 PMimplements DurableObject
since it's an interface, not a classVanessa🦩
06/18/2021, 10:17 PMmaxastuart
06/18/2021, 10:18 PM