Skip to content

Add warning to docs that supabase-js doesn't support fire-and-forget #951

Open
@JeongJuhyeon

Description

@JeongJuhyeon

Improve documentation

Link

Not sure where best location would be

Describe the problem

For most who have done async calls Typescript or Javascript, it's common to sometimes "fire and forget" (i.e. not await the promise) for async calls where they don't care about the result. This doesn't work with supabase-js, the query will not be executed. From a technical perspective it makes sense since it's a query builder, but many people have never used one and have only used async calls with libraries that directly make http requests or execute db statements.

Describe the improvement

A clear and concise description of the improvement.

Additional context

Add any other context or screenshots that help clarify your question.

Activity

shraey96

shraey96 commented on Apr 12, 2025

@shraey96

Did you find a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @shraey96@JeongJuhyeon

        Issue actions

          Add warning to docs that supabase-js doesn't support fire-and-forget · Issue #951 · supabase/supabase-js