mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-12-22 13:53:48 +01:00
start queue
This commit is contained in:
parent
3c846db788
commit
c5839238f1
@ -3,6 +3,10 @@ import $ from 'jquery';
|
|||||||
const GET_TIMEOUT = 5000;
|
const GET_TIMEOUT = 5000;
|
||||||
const POST_TIMEOUT = 10000;
|
const POST_TIMEOUT = 10000;
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
// implement queue meganism
|
||||||
|
const queue = [];
|
||||||
|
|
||||||
export function get (url) {
|
export function get (url) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
Loading…
Reference in New Issue
Block a user