Alkove
constAlkove:object
Type Declaration
Section titled “Type Declaration”configure
Section titled “configure”configure: (
c) =>void
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
c |
Config |
Returns
Section titled “Returns”void
micPermission
Section titled “micPermission”micPermission: () =>
Promise<"granted"|"denied"|"prompt">
Returns
Section titled “Returns”Promise<"granted" | "denied" | "prompt">
onDiag
Section titled “onDiag”onDiag: (
fn) => () =>void
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
fn |
(d) => void |
Returns
Section titled “Returns”() => void
stream
Section titled “stream”stream: (
source,opts) =>AsyncGenerator<ProcessPart>
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
source |
StreamSource |
opts? |
ProcessOptions & object |
Returns
Section titled “Returns”AsyncGenerator<ProcessPart>
supported
Section titled “supported”supported: () =>
Support
Returns
Section titled “Returns”Support
cached()
Section titled “cached()”cached(
usage,opts?):Promise<boolean>
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
usage |
Usage |
opts? |
UsageOptions |
Returns
Section titled “Returns”Promise<boolean>
preload()
Section titled “preload()”preload(
usage,opts?):Promise<void>
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
usage |
Usage |
opts? |
UsageOptions & object |
Returns
Section titled “Returns”Promise<void>
process()
Section titled “process()”process(
input,opts?):Promise<ProcessResult>
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input |
ProcessInput |
opts? |
ProcessOptions |
Returns
Section titled “Returns”Promise<ProcessResult>