GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    jesse squires (jsq@mastodon.social)'s status on Tuesday, 05-Dec-2023 11:56:45 JSTjesse squiresjesse squires
    in reply to

    To clarify it is the structure of the example code that I’m interested in:

    1. Action is triggered by user via UI element.

    2. Expensive, non-main thread work needs to get dispatched to a background queue.

    3. When said work completes, dispatch back to the main thread to update the UI that notifies the user of the result.

    So now: write this using structured concurrency.

    Don’t tell me “well a ViewController should really only be responsible for…” Yeah, duh. You’re missing the point here.

    In conversationabout a year ago from mastodon.socialpermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.

Embed this notice