createPoTokenProvider
createPoTokenProvider(
options?):Promise<PoTokenProvider>
Starts a BotGuard worker thread and resolves once it can mint; rejects if BotGuard refuses the environment. A Ytdl
without getPoToken starts its own; create one to share it across instances or to dispose it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
PoTokenProviderOptions |
Returns
Section titled “Returns”Promise<PoTokenProvider>