Skip to main content

Resource<Collections>

Resource provided by a SkipService.

Resources make up the public interface of a SkipService, specifying how to respond to reactive requests, either by accessing data from the shared computation graph generated in the service's createGraph function or extending it with further reactive computations as needed to handle the request.

Type Parameters​

Type ParameterDescription
Collections extends SharedCollectionsCollections provided to the resource computation by the service's createGraph.

Methods​

instantiate()​

instantiate(collections, context): AbstractEagerCollection

Build the reactive compute graph of the reactive resource.

Parameters​

ParameterTypeDescription
collectionsCollectionsCollections provided by the service's createGraph.
contextContextSkip Runtime internal state.

Returns​

AbstractEagerCollection

An eager collection containing the outputs of this resource for the given parameters, produced from the shared reactive compute graph output collections of the service's createGraph.