You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
First of all, thank you to the segment team for providing this library.
I'm currently trying to implement analytics-node in my serverless app (GraphQL + nowsh, now known as vercel.
I tried using a shorter flushInterval like mentioned in this comment: #121 (comment) but it looks like context.callbackWaitsForEmptyEventLoop needs to be set to true, however Vercel, under the hood, use context.callbackWaitsForEmptyEventLoop = false by default.
Is there any recommended guide to use this library in a serverless environment / is it supported?