tom-weatherhead/common-utilities.ts

View on GitHub
src/collection-classes/interfaces/iqueue.ts

Summary

Maintainability
A
0 mins
Test Coverage
// github:tom-weatherhead/common-utilities.ts/src/collection-classes/interfaces/iqueue.ts

import { ICollection } from './icollection';

export interface IQueue<T> extends ICollection<T> {
    enqueue(item: T): void;
    dequeue(): T | undefined;
}