@types/p-fifo
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Installation

npm install --save @types/p-fifo

Summary

This package contains type definitions for p-fifo (https://github.com/alanshaw/p-fifo).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/p-fifo.

index.d.ts

export = PFifo;

declare class PFifo<T> {
    constructor();
    push(chunk: T): Promise<void>;
    shift(): Promise<T>;
    isEmpty(): boolean;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Junxiao Shi.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/p-fifo

Weekly Downloads

65

Version

1.0.2

License

MIT

Unpacked Size

2.8 kB

Total Files

5

Last publish

Collaborators

  • types