We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 092367d commit d4a9c06Copy full SHA for d4a9c06
packages/types/src/options.ts
@@ -131,6 +131,15 @@ export interface Options {
131
* @returns The breadcrumb that will be added | null.
132
*/
133
beforeBreadcrumb?(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): Breadcrumb | null;
134
+
135
+ /**
136
+ * Controls how many milliseconds to wait before shutting down. The default is
137
+ * SDK-specific but typically around 2 seconds. Setting this too low can cause
138
+ * problems for sending events from command line applications. Setting it too
139
+ * high can cause the application to block for users with network connectivity
140
+ * problems.
141
+ */
142
+ shutdownTimeout?: number;
143
144
_experiments?: {
145
[key: string]: any;
0 commit comments