Skip to content

Modify applyAction to allow alling action on page close via navigator.sendBeacon or keepalive #2172

@cacabo

Description

@cacabo

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon

One use case: calling a specific action or writing to a stream when user closes a page.

Currently, there is no ergonomic way to hook OSDK requests into these networking primitives.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions