Title: Give client bots a handler for pipe disconnection · Issue #71 · JavaBWAPI/JBWAPI · GitHub
Open Graph Title: Give client bots a handler for pipe disconnection · Issue #71 · JavaBWAPI/JBWAPI
X Title: Give client bots a handler for pipe disconnection · Issue #71 · JavaBWAPI/JBWAPI
Description: This is a feature proposal which I also added to BWAPI: bwapi/bwapi#873 -- it's a quality-of-life feature that has no particular need to synchronize with mainline BWAPI though, so I've added it here separately Real-time performance requi...
Open Graph Description: This is a feature proposal which I also added to BWAPI: bwapi/bwapi#873 -- it's a quality-of-life feature that has no particular need to synchronize with mainline BWAPI though, so I've added it her...
X Description: This is a feature proposal which I also added to BWAPI: bwapi/bwapi#873 -- it's a quality-of-life feature that has no particular need to synchronize with mainline BWAPI though, so I've adde...
Opengraph URL: https://github.com/JavaBWAPI/JBWAPI/issues/71
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Give client bots a handler for pipe disconnection","articleBody":"This is a feature proposal which I also added to BWAPI: https://github.com/bwapi/bwapi/issues/873 -- it's a quality-of-life feature that has no particular need to synchronize with mainline BWAPI though, so I've added it here separately\r\n\r\nReal-time performance requirements in competition disincentivize bots from logging directly to disk. The incentive is instead to flush logs at the end.\r\n\r\nHowever, if a client bot's pipe connection to StarCraft is broken, no further event handlers are called, leaving the bot without a last-ditch chance to flush logs. \r\n\r\nProposed feature: An `onTermination()` handler which is always called after a game, even in event of disconnection. This handler is called with the expectation that BWAPI is no longer accessible. This would allow bots a chance to flush any logs if they haven't already.","author":{"url":"https://github.com/dgant","@type":"Person","name":"dgant"},"datePublished":"2021-05-19T16:39:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/71/JBWAPI/issues/71"}
| 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:73a58b1e-e7a4-3bc9-405a-0e846e26a135 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98F2:3050FD:80A390:AE9C79:6971C1A2 |
| html-safe-nonce | 6c99a2cd8911ed97d4f35c20de04d46804840e767c7ff1712970184774975bc3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEYyOjMwNTBGRDo4MEEzOTA6QUU5Qzc5OjY5NzFDMUEyIiwidmlzaXRvcl9pZCI6IjcwNjM3MDcyNjYzNzE5Mjg0ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4bea2cb1d9c9fc9b30df38b08faebc37efc2c3a53d76756de73c968f117837ff |
| hovercard-subject-tag | issue:895658838 |
| 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/JavaBWAPI/JBWAPI/71/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ff26baf780e7bcacd81bf52624ff9d5f436246fe47dbdf25fb7fa782788239c3/JavaBWAPI/JBWAPI/issues/71 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff26baf780e7bcacd81bf52624ff9d5f436246fe47dbdf25fb7fa782788239c3/JavaBWAPI/JBWAPI/issues/71 |
| og:image:alt | This is a feature proposal which I also added to BWAPI: bwapi/bwapi#873 -- it's a quality-of-life feature that has no particular need to synchronize with mainline BWAPI though, so I've added it her... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dgant |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3b677fea7de290a6c0d1c9ccd6c9909b6a527cf8ee079649e09dc78092d24f1 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaBWAPI/JBWAPI git https://github.com/JavaBWAPI/JBWAPI.git |
| octolytics-dimension-user_id | 46279254 |
| octolytics-dimension-user_login | JavaBWAPI |
| octolytics-dimension-repository_id | 149718845 |
| octolytics-dimension-repository_nwo | JavaBWAPI/JBWAPI |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 149718845 |
| octolytics-dimension-repository_network_root_nwo | JavaBWAPI/JBWAPI |
| 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 | 29d7fcca69cafb91ec8a596aaf222fd46e9bc934 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width