interface-ipfs-core
Version:
A test suite and interface you can use to implement a IPFS core interface.
16 lines • 702 B
TypeScript
/**
* @typedef {import('ipfsd-ctl').Factory} Factory
* @typedef {import('@libp2p/interface-pubsub').Message} Message
* @typedef {import('it-pushable').Pushable<Message>} Pushable
* @typedef {import('p-defer').DeferredPromise<Message>} DeferredMessagePromise
*/
/**
* @param {Factory} factory
* @param {object} options
*/
export function testSubscribe(factory: Factory, options: object): void;
export type Factory = import('ipfsd-ctl').Factory;
export type Message = import('@libp2p/interface-pubsub').Message;
export type Pushable = import('it-pushable').Pushable<Message>;
export type DeferredMessagePromise = import('p-defer').DeferredPromise<Message>;
//# sourceMappingURL=subscribe.d.ts.map