Profectus / features/challenges/challenge / createChallenge
Function: createChallenge() ​
createChallenge<
T
>(optionsFunc
):any
Lazily creates a challenge with the given options.
Type Parameters ​
• T extends ChallengeOptions
Parameters ​
optionsFunc ​
() => T
Challenge options.
Returns ​
any