Skip to content

Refactor async effects #9

Description

@JonasGruenwald

Two issues:

  1. Async effects for data fetching like the one used in the processes server component use the server component's subject to send a message to it(self), when they should instead just use dispatch from the effect, reference for how this should work: https://github.com/hayleigh-dot-dev/rsvp/blob/eddb81af7554200d54aea84ccd6f91d3d1446b05/src/rsvp.gleam#L403-L422
  2. Most data fetching is not async yet, mainly just the OTP status stuff – this should be changed as we now allow inspecting other nodes, so data fetching may cause delays and shouldn't block server component loops

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions