mirror of
https://github.com/fluencelabs/js-libp2p-interfaces
synced 2025-04-24 14:22:25 +00:00
13 lines
239 B
JavaScript
13 lines
239 B
JavaScript
'use strict'
|
|
|
|
const STATUS = {
|
|
OPEN: /** @type {'open'} */('open'),
|
|
CLOSING: /** @type {'closing'} */('closing'),
|
|
CLOSED: /** @type {'closed'} */('closed')
|
|
}
|
|
module.exports = STATUS
|
|
|
|
/**
|
|
* @typedef {STATUS[keyof STATUS]} Status
|
|
*/
|