mirror of
https://github.com/wassname/talk.git
synced 2026-09-11 12:51:33 +08:00
[CORL-1048] Cookie Deprecation (#2944)
* feat: dropped cookie support due to ITP issues * feat: added improved accessToken handling * fix: linting * fix: removed variadic part of JWT * fix: bump long-settimeout version * review: removed management classes * fix: updated snaps * review: renamed based on review * review: removed guard clauses around errors surrounding auth
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import { setLongTimeout } from "long-settimeout";
|
||||
|
||||
/** A promisified timeout. */
|
||||
export default function timeout(ms = 0) {
|
||||
return new Promise((resolve) => setTimeout(resolve, ms));
|
||||
return new Promise((resolve) => setLongTimeout(resolve, ms));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user