JS API Reference
Module: golem-network/golem-network
Table of contents
Classes
Interfaces
Type Aliases
Type Aliases
InstanceOrFactory
Ƭ InstanceOrFactory<TargetInterface
, ConstructorArgs
>: TargetInterface
| (...args
: ConstructorArgs
) => TargetInterface
Instance of an object or a factory function that you can call new
on. Optionally you can provide constructor arguments.
Type parameters
Name | Type |
---|---|
TargetInterface | TargetInterface |
ConstructorArgs | extends unknown [] = never [] |
Defined in
src/golem-network/golem-network.ts:48
GolemServices
Ƭ GolemServices: Object
Dependency Container
Type declaration
Name | Type |
---|---|
yagna | YagnaApi |
logger | Logger |
paymentApi | IPaymentApi |
activityApi | IActivityApi |
marketApi | IMarketApi |
networkApi | INetworkApi |
proposalCache | CacheService <OfferProposal > |
proposalRepository | IProposalRepository |
demandRepository | IDemandRepository |
fileServer | IFileServer |
storageProvider | StorageProvider |
Defined in
Was this helpful?