* Adds a constant fact during runtime. Can be used mid-run() to add additional information * @deprecated use addFact * @param {String} fact - fact identifier * @param {Mixed} value - constant value of the fact
(factId, value)
| 121 | * @param {Mixed} value - constant value of the fact |
| 122 | */ |
| 123 | addRuntimeFact (factId, value) { |
| 124 | debug(`almanac::addRuntimeFact id:${factId}`) |
| 125 | const fact = new Fact(factId, value) |
| 126 | return this._addConstantFact(fact) |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * Returns the value of a fact, based on the given parameters. Utilizes the 'almanac' maintained |
no test coverage detected