UNPKG
tav-media
Version:
latest (0.3.2)
0.3.2
0.3.1
0.3.0
Cross platform media editing framework
tav-media
/
lib
/
libpag
/
src
/
utils
/
queue.d.ts
10 lines
(9 loc)
•
246 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
interface
Task
{
fn
:
() =>
Promise
<
any
>; }
export
declare
class
WebAssemblyQueue
{
private
executing;
private
queue; exec<T>(
fn
:
(
...
args
:
any
[]
) =>
any
,
scope
:
any
, ...
args
:
any
[]):
Promise
<T>;
private
execNextTask; }