Open rbalicki2 opened 2 days ago
You should be able to call getStateOfFragmentReference(fragmentRef) and that should return { kind: 'Pending' } | { kind: 'Data', dat: T }
getStateOfFragmentReference(fragmentRef)
{ kind: 'Pending' } | { kind: 'Data', dat: T }
It should be pending if it would suspend. This may not equal that a network request is in flight, it might suspend due to other data changing.
You should be able to call
getStateOfFragmentReference(fragmentRef)
and that should return{ kind: 'Pending' } | { kind: 'Data', dat: T }
It should be pending if it would suspend. This may not equal that a network request is in flight, it might suspend due to other data changing.