This PR cleans up the task code a bit and introduces a new type of task that runs on the client and during suspense, but does not block suspense. This is useful for two different kinds of futures:
Synchronous responding futures like memo
Server functions that start on the server, but don't block suspense
This PR cleans up the task code a bit and introduces a new type of task that runs on the client and during suspense, but does not block suspense. This is useful for two different kinds of futures:
Closes #2059