SuspendableResource: ResourceState<T>

Backward-compatible alias for the canonical ResourceState<T> from @causl/sync. The previous shape was a structurally-incompatible fork that invented promise? on loading and dropped origin: GraphTime / loadedAt / erroredAt; consumers that only checked the tag continue to type-check, while the engine-anchored fields (origin, loadedAt, erroredAt, promise) are now visible to them.

Type Parameters

  • T