Re:Launch HN: Defer (YC W23) – Zero-infrastructure backgroun...
by gearnode on Friday March 10, 2023 @03:45PM
(#35100764)
Locally (without `DEFER_TOKEN` environment variable), your functions run synchronously, but apart from this, you get the same API behavior (arguments serialization, execution id, etc.).
Re:Launch HN: Defer (YC W23) – Zero-infrastructure backgroun...
by johtso on Friday March 10, 2023 @05:40PM
(#35102271)
This is fantastic! I was hoping it would "just work" and seems like it does! Unless I missed it I think the docs should explain this. It would definitely be a selling point for me compared with having to run a local server like with Temporal.
Re:Launch HN: Defer (YC W23) – Zero-infrastructure backgroun...
by bayesian_horse on Saturday March 11, 2023 @08:16AM
(#35108041)
That was one of my questions too. Without a local execution for fallback there are all sorts of problems with this, especially in development.
Is there a local runtime a-la miniflare?
Or do I have to deploy and then run my unit tests against your APIs?