MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / willProceed

Method willProceed

src/lib/Component.ts:166–174  ·  view source on GitHub ↗

* @static willProceed - Once the shouldProceed check is passed, each action * should implement its own logic according to its requirements to respond to * the game proceeding. * * @return {Promise}

()

Source from the content-addressed store, hash-verified

164 * @return {Promise}
165 */
166 static async willProceed (): Promise<void[]> {
167 const promises: Promise<void>[] = [];
168
169 this.instances((instance: any) => {
170 promises.push(instance.willProceed());
171 });
172
173 return Promise.all(promises);
174 }
175
176 /**
177 * @static shouldRollback - Similarly to the shouldProceed () function, this one takes

Callers

nothing calls this directly

Calls 2

instancesMethod · 0.95
allMethod · 0.45

Tested by

no test coverage detected