own-tiles-renderer2
Version:
https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification
17 lines (11 loc) • 356 B
TypeScript
export class PriorityQueue {
maxJobs : Number;
autoUpdate : Boolean;
priorityCallback : ( itemA : any , itemB : any ) => Number;
schedulingCallback : ( func : Function ) => void;
sort() : void;
add( item : any, callback : ( item : any ) => any ) : Promise< any >;
remove( item : any ) : void;
tryRunJobs() : void;
scheduleJobRun() : void;
}