Skip to main content

useSignalsAlert

One episode by id, or one raw alert with { episodes: false }.

Kind: React hook
Package: @ovok/core

Import​

import { useSignalsAlert } from '@ovok/core';

TypeScript signatures​

(id: string | undefined, grain: { episodes: false; }): OvokRequestState<SignalsRawAlert>
(id?: string, grain?: { episodes?: true; }): OvokRequestState<SignalsAlert>
ParameterTypeDetails
idstring | undefined—
grain{ episodes: false; }—

Returns: OvokRequestState<SignalsRawAlert>.

Overload 2

ParameterTypeDetails
idstring—
grain{ episodes?: true; }—

Returns: OvokRequestState<SignalsAlert>.

Learn the workflow​

Continue with React for the workflow context and examples.

Source​

View the declaration in the SDK source.