https://discord.cloudflare.com logo
Join Discord
Powered by
# durable-objects
  • w

    Walshy | Pages

    09/04/2021, 6:41 PM
    You submitting that to the Summer Challenge?
  • e

    Electroid

    09/04/2021, 6:44 PM
    we got a good game going, still going
  • r

    raRaRa

    09/04/2021, 6:45 PM
    Really good game!
  • r

    raRaRa

    09/04/2021, 6:45 PM
    Fits well with alcohol 🙂
  • e

    Electroid

    09/04/2021, 6:46 PM
    it seems there's a bug though with the announcement of who found the word
  • e

    Electroid

    09/04/2021, 6:46 PM
    it appears too announce the local username for everyone
  • r

    raRaRa

    09/04/2021, 6:49 PM
    Yeah I accidentally use the name of the user who´s playing
  • r

    raRaRa

    09/04/2021, 6:50 PM
    Going to fix that gbug
  • r

    raRaRa

    09/04/2021, 6:50 PM
    Thanks for the playtest, everything worked perfectly except for that minor bug 🙂
  • r

    raRaRa

    09/04/2021, 6:51 PM
    P.s. you can visit skissan.com and create a custom room and select a word list
  • r

    raRaRa

    09/04/2021, 6:58 PM
    Still thinking about it, maybe a simplified version.
  • w

    Walshy | Pages

    09/04/2021, 6:58 PM
    You should do it. It's cool
  • r

    raRaRa

    09/04/2021, 6:59 PM
    Thanks! ❤️
  • h

    HardAtWork

    09/04/2021, 8:15 PM
    Ping for @rita
  • r

    raRaRa

    09/04/2021, 8:16 PM
    I'm up for another game 🙂
  • i

    ItsWendell

    09/05/2021, 1:01 AM
    Nice work man, looks cool! Also seems to draw well on mobile!
  • r

    raRaRa

    09/05/2021, 8:48 AM
    Thanks! 🙂
  • r

    raRaRa

    09/05/2021, 12:06 PM
    The frontpage is now using a Lobby DO, to show number of players in each room, and also custom rooms that are not marked private. Really loving the DO concept
  • e

    eidam | SuperSaaS

    09/05/2021, 12:07 PM
    This is such a cool use of DOs, love it!
  • a

    aa

    09/06/2021, 3:47 PM
    Hey there the durable-objects-typescript-rollup-esm template uses
    blockConcurrencyWhile
    , but it's not in the current sdk. What is the right way to do what it used to do?
  • a

    aa

    09/06/2021, 3:48 PM
    https://github.com/cloudflare/durable-objects-typescript-rollup-esm/blob/master/src/counter.ts#L10
  • a

    aa

    09/06/2021, 3:48 PM
    I tried using
    waitUntil()
    but it doesn't seem to work, at least in miniflare.
  • m

    MrBBot

    09/06/2021, 3:52 PM
    Miniflare does not support
    blockConcurrencyWhile
    yet, it's coming though 🙂 As for the SDK, are you talking about https://github.com/cloudflare/workers-types ? That should be updated soon™ too...
  • a

    aa

    09/06/2021, 3:59 PM
    Thanks @User - that answers both my questions.
  • a

    aa

    09/06/2021, 3:59 PM
    btw miniflare is amaze, thanks
  • h

    helio

    09/06/2021, 4:11 PM
    Sorry to ask this, but after reading the doc and the blog posts, It's kind hard to understand what exactly DO can do, or at least why. I keep asking me if it will behave like a storage, a db, or as doc says, an unique object around the world (????)
  • h

    helio

    09/06/2021, 4:12 PM
    @User truly amazing, thanks
  • a

    aa

    09/06/2021, 4:30 PM
    Can you be more specific?
  • h

    helio

    09/06/2021, 4:30 PM
    I just dont understood the best fit for DO
  • a

    aa

    09/06/2021, 4:30 PM
    DO is basically a single CPU thread running a JavaScript VM on an edge node somewhere on earth. CloudFlare infra makes sure only one of them exists for each name you specify.
1...172173174...567Latest