mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-11-05 04:33:24 +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 POST_TIMEOUT = 10000;
|
||||
|
||||
// TODO
|
||||
// implement queue meganism
|
||||
const queue = [];
|
||||
|
||||
export function get (url) {
|
||||
return new Promise((resolve, reject) => {
|
||||
$.ajax({
|
||||
|
Loading…
Reference in New Issue
Block a user