<const Tag extends StoreScopeTag>(tag: Tag): ReturnType<
typeof facetStoreRegistration<
Tag,
ReturnType<typeof builtInNodeStoreContract>
>
>
<const Tag extends StoreScopeTag, const Shapes extends StoreShapes>(
tag: Tag,
extended: Shapes
): ReturnType<
typeof facetStoreRegistration<
Tag,
ReturnType<typeof builtInNodeStoreContract>,
Shapes
>
>Register a Node on an app Store.Service — node-wide durable log journal
(match-all follower). Prefer Node.logs sugar (WnbaNode.logs).
servingNodeStore.ServiceNode.logs
Source src/Hyperlink.ts:108920 lines
export function function store<const Tag extends StoreScopeTag>(tag: Tag): ReturnType<typeof facetStoreRegistration<Tag, ReturnType<typeof builtInNodeStoreContract>>> (+1 overload)Register a
Node
on an app
Store.Service
— node-wide durable log journal
(match-all follower). Prefer
Node.logs
sugar (WnbaNode.logs).
store<const function (type parameter) Tag in store<const Tag extends StoreScopeTag>(tag: Tag): ReturnType<typeof facetStoreRegistration<Tag, ReturnType<typeof builtInNodeStoreContract>>>Tag extends import StoreScopeTagStoreScopeTag>(
tag: const Tag extends StoreScopeTagtag: function (type parameter) Tag in store<const Tag extends StoreScopeTag>(tag: Tag): ReturnType<typeof facetStoreRegistration<Tag, ReturnType<typeof builtInNodeStoreContract>>>Tag,
): type ReturnType<
T extends (...args: any) => any
> = T extends (...args: any) => infer R ? R : any
Obtain the return type of a function type
ReturnType<typeof import facetStoreRegistrationfacetStoreRegistration<function (type parameter) Tag in store<const Tag extends StoreScopeTag>(tag: Tag): ReturnType<typeof facetStoreRegistration<Tag, ReturnType<typeof builtInNodeStoreContract>>>Tag, type ReturnType<
T extends (...args: any) => any
> = T extends (...args: any) => infer R ? R : any
Obtain the return type of a function type
ReturnType<typeof import builtInNodeStoreContractbuiltInNodeStoreContract>>>;
export function function store<const Tag extends StoreScopeTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, ReturnType<typeof builtInNodeStoreContract>, Shapes>> (+1 overload)Register a
Node
on an app
Store.Service
— node-wide durable log journal
(match-all follower). Prefer
Node.logs
sugar (WnbaNode.logs).
store<
const function (type parameter) Tag in store<const Tag extends StoreScopeTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, ReturnType<typeof builtInNodeStoreContract>, Shapes>>Tag extends import StoreScopeTagStoreScopeTag,
const function (type parameter) Shapes in store<const Tag extends StoreScopeTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, ReturnType<typeof builtInNodeStoreContract>, Shapes>>Shapes extends import StoreShapesStoreShapes,
>(
tag: const Tag extends StoreScopeTagtag: function (type parameter) Tag in store<const Tag extends StoreScopeTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, ReturnType<typeof builtInNodeStoreContract>, Shapes>>Tag,
extended: const Shapes extends StoreShapesextended: function (type parameter) Shapes in store<const Tag extends StoreScopeTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, ReturnType<typeof builtInNodeStoreContract>, Shapes>>Shapes,
): type ReturnType<
T extends (...args: any) => any
> = T extends (...args: any) => infer R ? R : any
Obtain the return type of a function type
ReturnType<
typeof import facetStoreRegistrationfacetStoreRegistration<function (type parameter) Tag in store<const Tag extends StoreScopeTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, ReturnType<typeof builtInNodeStoreContract>, Shapes>>Tag, type ReturnType<
T extends (...args: any) => any
> = T extends (...args: any) => infer R ? R : any
Obtain the return type of a function type
ReturnType<typeof import builtInNodeStoreContractbuiltInNodeStoreContract>, function (type parameter) Shapes in store<const Tag extends StoreScopeTag, const Shapes extends StoreShapes>(tag: Tag, extended: Shapes): ReturnType<typeof facetStoreRegistration<Tag, ReturnType<typeof builtInNodeStoreContract>, Shapes>>Shapes>
>;
export function function store<const Tag extends StoreScopeTag>(tag: Tag): ReturnType<typeof facetStoreRegistration<Tag, ReturnType<typeof builtInNodeStoreContract>>> (+1 overload)Register a
Node
on an app
Store.Service
— node-wide durable log journal
(match-all follower). Prefer
Node.logs
sugar (WnbaNode.logs).
store(tag: StoreScopeTagtag: import StoreScopeTagStoreScopeTag, extended: anyextended?: import StoreShapesStoreShapes) {
const const builtIn: anybuiltIn = import builtInNodeStoreContractbuiltInNodeStoreContract();
const const registered: anyregistered =
extended: anyextended === var undefinedundefined
? import facetStoreRegistrationfacetStoreRegistration(tag: StoreScopeTagtag, const builtIn: anybuiltIn)
: import facetStoreRegistrationfacetStoreRegistration(tag: StoreScopeTagtag, const builtIn: anybuiltIn, extended: anyextended);
return import withRegistrationJournalwithRegistrationJournal(const registered: anyregistered, "node");
}