yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: LeastExpensiveLinearPayuMS

yajsapi / Exports / executor/strategy / LeastExpensiveLinearPayuMS

Class: LeastExpensiveLinearPayuMS

executor/strategy.LeastExpensiveLinearPayuMS

Hierarchy

  • LeastExpensiveLinearPayuMS

Table of contents

Constructors

Properties

Methods

Constructors

constructor

Parameters:

Name

Type

Default value

expected_time_secs

number

60

Returns: LeastExpensiveLinearPayuMS

Defined in: yajsapi/executor/strategy.ts:67

Properties

_expected_time_secs

Private _expected_time_secs: number

Defined in: yajsapi/executor/strategy.ts:67

Methods

decorate_demand

decorate_demand(demand: DemandBuilder): Promise<void>

Parameters:

Name

Type

demand

DemandBuilder

Returns: Promise<void>

Defined in: yajsapi/executor/strategy.ts:72

score_offer

score_offer(offer: OfferProposal): Promise

Parameters:

Name

Type

offer

OfferProposal

Returns: Promise

Defined in: yajsapi/executor/strategy.ts:76