@artch said in Draft: Store prototype API:
- resourceType is undefined: equals to _.sum(store) with internal caching or null if this is not a general purpose store;
- resourceType is defined: returns capacity for that particular resource or null if this resource cannot be stored in this particular structure
It might be a case of copy paste, or just me nit picking, but I think in that last list point of
returns capacity for that particular resource it should be
returns used capacity of that particular resource.
(and don't mind me not figuring out how to replicate the bullet list indentation properly)