Currently data property in StateOption can be only (primitive | Object | Function). But I have url that is responsible for returning many variants of data based on request payload (kinda like GraphQL). So I need to have ability to serve mock when some conditions are metting my predicates in other case it need to pass through request to real backend and return data from there.
So to do that I need to be able to set data property as Promise or have some pass through option to call real backend to get data.