fix: require task payload to be seralizable over RPC#191
fix: require task payload to be seralizable over RPC#191jahands wants to merge 1 commit intocloudflare:mainfrom
Conversation
|
e75589b to
2f36397
Compare
| // @ts-expect-error I'm bad at typescript | ||
| // eslint-disable-next-line @typescript-eslint/no-unsafe-call | ||
| taskTime.toISOString() | ||
| await taskTime.toISOString() |
There was a problem hiding this comment.
fixed some type issues while I was here
| id: string; | ||
| description?: string | undefined; | ||
| payload?: Record<string, unknown> | undefined; | ||
| payload?: Record<string, Rpc.Serializable<unknown>> | undefined; |
There was a problem hiding this comment.
Do we really need Record here? Maybe this should just be Rpc.Serializable<unknown> ?
|
clsoing since all scheduling work is now focused on Agents |
fixes #190