Features
Loads Features
public Features(dir: string, callback: (feature: FeatureInterface, fileName: string) => Awaited<unknown>): this
dir: features directory
callback: function executed when an event is loaded
client.Features(
"src/features",
(feature, file)
=> console.log(`Loading feature from ${file}`)
);
Last updated
Was this helpful?