Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Thread

import type { Thread } from "https://googleapis.deno.dev/v1/firebasecrashlytics:v1alpha.ts";

An application thread.

interface Thread {
blamed?: boolean;
crashAddress?: bigint;
crashed?: boolean;
frames?: Frame[];
name?: string;
queue?: string;
signal?: string;
signalCode?: string;
subtitle?: string;
sysThreadId?: bigint;
threadId?: bigint;
readonly threadState?:
| "STATE_UNSPECIFIED"
| "THREAD_STATE_TERMINATED"
| "THREAD_STATE_RUNNABLE"
| "THREAD_STATE_TIMED_WAITING"
| "THREAD_STATE_BLOCKED"
| "THREAD_STATE_WAITING"
| "THREAD_STATE_NEW"
| "THREAD_STATE_NATIVE_RUNNABLE"
| "THREAD_STATE_NATIVE_WAITING";
title?: string;
}

§Properties

§
blamed?: boolean
[src]

True when the Crashlytics analysis has determined that the stacktrace in this thread is where the fault occurred.

§
crashAddress?: bigint
[src]

The address of the signal that caused the application to crash. Only present on crashed native threads.

§
crashed?: boolean
[src]

True when the thread has crashed.

§
frames?: Frame[]
[src]

The frames in the thread's stacktrace.

§
name?: string
[src]

The name of the thread.

§
queue?: string
[src]

The queue on which the thread was running.

§
signal?: string
[src]

The name of the signal that caused the app to crash. Only present on crashed native threads.

§
signalCode?: string
[src]

The code of the signal that caused the app to crash. Only present on crashed native threads.

§
subtitle?: string
[src]

The subtitle of the thread.

§
sysThreadId?: bigint
[src]

The system id of the thread, only available for ANR threads.

§
threadId?: bigint
[src]

The id of the thread, only available for ANR threads.

§
readonly threadState?: "STATE_UNSPECIFIED" | "THREAD_STATE_TERMINATED" | "THREAD_STATE_RUNNABLE" | "THREAD_STATE_TIMED_WAITING" | "THREAD_STATE_BLOCKED" | "THREAD_STATE_WAITING" | "THREAD_STATE_NEW" | "THREAD_STATE_NATIVE_RUNNABLE" | "THREAD_STATE_NATIVE_WAITING"
[src]

Output only. The state of the thread at the time the ANR occurred.

§
title?: string
[src]

The title of the thread.