You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some rare cases, only the latest version of a message is useful, so it's not important to preserve messages that are currently being retried.
Concerns
This might be a micro-optimization, depending on the amount of expected messages that will be sent while a target isn't ready
The retry logic is handled by p-retry and it might not be easy to check whether a message is currently in queue. Maybe an AbortSignal could be used to automatically cancel any messages in queue
In some rare cases, only the latest version of a message is useful, so it's not important to preserve messages that are currently being retried.
Concerns
p-retry
and it might not be easy to check whether a message is currently in queue. Maybe an AbortSignal could be used to automatically cancel any messages in queuePrior art
Discarding logic:
https://github.com/pixiebrix/pixiebrix-extension/blob/main/src/actionPanel/native.tsx#L167:L167
Used as a notification only:
https://github.com/pixiebrix/pixiebrix-extension/blob/ea335a13e28a8c63ab1c73a6e4c2c2ba27a65da9/src/background/browserAction.ts#L150-L158
The text was updated successfully, but these errors were encountered: