If you're familiar with React Query, you'll recognize the data that is
returned by this hook. React Query 5 is used internally.
Parameters
string | undefined
required
The event ID to get the details for. This is returned when calling either
client.sendEvent() or
io.sendEvent().
Returns
object | undefined
The data returned from the server.
Error | undefined
The error object if the request failed.
pending | success | error
The status of the request. This can be one of the following values:
pending,
success and error.boolean
true if the request is currently pending or if it is in a refetch state.boolean
true if the request succeeded.boolean
true if the request failed.boolean
true if the request is currently pending.boolean
true if the request failed with a loading error.boolean
true if the request failed with a refetch error.
