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.

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

    Issue actions