RegistryContext overview
Added in v1.0.0
Table of contents
context
RegistryContext
Signature
export declare const RegistryContext: React.Context<Registry.Registry>
Added in v1.0.0
RegistryProvider
Signature
export declare const RegistryProvider: (options: {
readonly children?: React.ReactNode | undefined
readonly initialValues?: Iterable<readonly [Rx.Rx<any>, any]> | undefined
readonly scheduleTask?: ((f: () => void) => void) | undefined
readonly timeoutResolution?: number | undefined
readonly defaultIdleTTL?: number | undefined
}) => React.FunctionComponentElement<React.ProviderProps<Registry.Registry>>
Added in v1.0.0
scheduleTask
Signature
export declare function scheduleTask(f: () => void): void
Added in v1.0.0