Title: Replying node.on.done on localhost might send msgs too early · Issue #168 · nodeGame/nodegame · GitHub
Open Graph Title: Replying node.on.done on localhost might send msgs too early · Issue #168 · nodeGame/nodegame
X Title: Replying node.on.done on localhost might send msgs too early · Issue #168 · nodeGame/nodegame
Description: Usecase: client: node.done(); server: node.on.done('X', (msg) => node.say('next step or this step?'); If the server is fast and client is slow the message might arrive after the client is DONE but before the client has started the new st...
Open Graph Description: Usecase: client: node.done(); server: node.on.done('X', (msg) => node.say('next step or this step?'); If the server is fast and client is slow the message might arrive after the client is DONE but ...
X Description: Usecase: client: node.done(); server: node.on.done('X', (msg) => node.say('next step or this step?'); If the server is fast and client is slow the message might arrive after the ...
Opengraph URL: https://github.com/nodeGame/nodegame/issues/168
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Replying node.on.done on localhost might send msgs too early ","articleBody":"Usecase:\r\n\r\nclient:\r\n```\r\nnode.done();\r\n```\r\nserver:\r\n```\r\nnode.on.done('X', (msg) =\u003e node.say('next step or this step?');\r\n```\r\nIf the server is fast and client is slow the message might arrive after the client is DONE but before the client has started the new step (the stepping procedure is async to let local listeners finish). In this case, the message belongs to the previous step. Vice versa the message will be fired on the next step.\r\n\r\nIf messages are critical to be fired in the next (e.g., sending the payoff for the game to EndScreen), it will fail.\r\n","author":{"url":"https://github.com/shakty","@type":"Person","name":"shakty"},"datePublished":"2021-08-27T11:50:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/168/nodegame/issues/168"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2c736800-f2ad-6451-1333-d4386632c382 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2A4:3D4482:423712D:5AA7E0F:698CADA7 |
| html-safe-nonce | 5e34a732e8d8254911cb7daf70b146bb155c384cb3aeec2b99623528a3582803 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkE0OjNENDQ4Mjo0MjM3MTJEOjVBQTdFMEY6Njk4Q0FEQTciLCJ2aXNpdG9yX2lkIjoiNTkwMzQ0MjU0NDUxMTcyNDk2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9033f9e20fbce007f692b8cf5b739c7e469e7ee65e9895f57e670a8141a0c097 |
| hovercard-subject-tag | issue:981169869 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodeGame/nodegame/168/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a6e118b7ffa9c1bccdafb23433b03b2d5c63437a5c9d7b4d067d5c3e3d469e48/nodeGame/nodegame/issues/168 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a6e118b7ffa9c1bccdafb23433b03b2d5c63437a5c9d7b4d067d5c3e3d469e48/nodeGame/nodegame/issues/168 |
| og:image:alt | Usecase: client: node.done(); server: node.on.done('X', (msg) => node.say('next step or this step?'); If the server is fast and client is slow the message might arrive after the client is DONE but ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shakty |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodeGame/nodegame git https://github.com/nodeGame/nodegame.git |
| octolytics-dimension-user_id | 1472704 |
| octolytics-dimension-user_login | nodeGame |
| octolytics-dimension-repository_id | 6147924 |
| octolytics-dimension-repository_nwo | nodeGame/nodegame |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 6147924 |
| octolytics-dimension-repository_network_root_nwo | nodeGame/nodegame |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width