JS API Reference

Interface: ProposalPoolOptions

market/draft-offer-proposal-pool.ProposalPoolOptions

Table of contents

Properties

Properties

selectOfferProposal

Optional selectOfferProposal: OfferProposalSelector

A user-defined function that will be used by DraftOfferProposalPool.acquire to pick the best fitting offer proposal from available ones

Defined in

src/market/draft-offer-proposal-pool.ts:15


validateOfferProposal

Optional validateOfferProposal: OfferProposalFilter

User defined filter function which will determine if the offer proposal is valid for use.

Offer proposals are validated before being handled to the caller of DraftOfferProposalPool.acquire

Defined in

src/market/draft-offer-proposal-pool.ts:22


minCount

Optional minCount: number

Min number of proposals in pool so that it can be considered as ready to use

Default

0

Defined in

src/market/draft-offer-proposal-pool.ts:29


logger

Optional logger: Logger

Defined in

src/market/draft-offer-proposal-pool.ts:31

Was this helpful?