createPlugin
createPlugin(
options?):object
Defined in: plugins/holocron-plugin-turbo/src/index.ts:63
Creates the Turbo plugin: the token probe and the cache capability.
Parameters
Section titled “Parameters”options?
Section titled “options?”TurboPluginOptions = {}
Returns
Section titled “Returns”object
capabilities
Section titled “capabilities”capabilities:
object
capabilities.cache
Section titled “capabilities.cache”cache: () =>
Cache
Returns
Section titled “Returns”Cache
name:
string="@theholocron/holocron-plugin-turbo"
probes
Section titled “probes”probes:
object
probes.token
Section titled “probes.token”token:
Probe
whoami
Section titled “whoami”whoami:
ProviderAction