yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: DummyMS

yajsapi / Exports / executor/strategy / DummyMS

Class: DummyMS

executor/strategy.DummyMS

Hierarchy

  • MarketGeneral

    DummyMS

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new DummyMS()

Inherited from

MarketGeneral.constructor

Properties

_activity

Optional _activity: Activity

Defined in

yajsapi/executor/strategy.ts:42

constructor

constructor: Function

The initial value of Object.prototype.constructor is the standard built-in Object constructor.

Inherited from

MarketGeneral.constructor

Defined in

node_modules/typescript/lib/lib.es5.d.ts:122

max_fixed

max_fixed: Number

Defined in

yajsapi/executor/strategy.ts:41

max_for_counter

max_for_counter: Map<Counter, Number>

Defined in

yajsapi/executor/strategy.ts:37

Methods

decorate_demand

decorate_demand(demand): Promise

Parameters

Name

Type

demand

DemandBuilder

Returns

Promise

Overrides

MarketGeneral.decorate_demand

Defined in

yajsapi/executor/strategy.ts:44

hasOwnProperty

hasOwnProperty(v): boolean

Determines whether an object has a property with the specified name.

Parameters

Name

Type

Description

v

string | number | symbol

A property name.

Returns

boolean

Inherited from

MarketGeneral.hasOwnProperty

Defined in

node_modules/typescript/lib/lib.es5.d.ts:137

isPrototypeOf

isPrototypeOf(v): boolean

Determines whether an object exists in another object's prototype chain.

Parameters

Name

Type

Description

v

Object

Another object whose prototype chain is to be checked.

Returns

boolean

Inherited from

MarketGeneral.isPrototypeOf

Defined in

node_modules/typescript/lib/lib.es5.d.ts:143

propertyIsEnumerable

propertyIsEnumerable(v): boolean

Determines whether a specified property is enumerable.

Parameters

Name

Type

Description

v

string | number | symbol

A property name.

Returns

boolean

Inherited from

MarketGeneral.propertyIsEnumerable

Defined in

node_modules/typescript/lib/lib.es5.d.ts:149

score_offer

score_offer(offer, history?): Promise

Parameters

Name

Type

offer

OfferProposal

history?

ComputationHistory

Returns

Promise

Overrides

MarketGeneral.score_offer

Defined in

yajsapi/executor/strategy.ts:49

toLocaleString

toLocaleString(): string

Returns a date converted to a string using the current locale.

Returns

string

Inherited from

MarketGeneral.toLocaleString

Defined in

node_modules/typescript/lib/lib.es5.d.ts:128

toString

toString(): string

Returns a string representation of an object.

Returns

string

Inherited from

MarketGeneral.toString

Defined in

node_modules/typescript/lib/lib.es5.d.ts:125

valueOf

valueOf(): Object

Returns the primitive value of the specified object.

Returns

Object

Inherited from

MarketGeneral.valueOf

Defined in

node_modules/typescript/lib/lib.es5.d.ts:131