0
0
mirror of https://github.com/Doodle3D/Doodle3D-API synced 2024-11-05 04:33:24 +01:00

start queue

This commit is contained in:
casperlamboo 2016-04-18 09:30:07 +02:00
parent 3c846db788
commit c5839238f1

View File

@ -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({