Open marcus-sa opened 11 months ago
Hey, you can set a delay in seconds when publishing a message, does that not work for you?
Or absolute timestamp: https://github.com/upstash/sdk-qstash-ts/blob/359a55ee6d87d1d8af94abbcddc7b76d3d97d145/pkg/client/client.ts#L88
Maybe he ran into the same issue as me, trying to pass in notBefore and delay timestamps in milliseconds instead of seconds.
It would be pretty sweet if the api client could support milliseconds as that is the standard in js.
Here is what I do now
notBefore: Math.floor(nextInviteDate?.getTime() / 1000),
Functionality to schedule messages to be delivered at a future date