Добавлена ДБ
This commit is contained in:
44
node_modules/effect/dist/esm/Resource.js
generated
vendored
Normal file
44
node_modules/effect/dist/esm/Resource.js
generated
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
import * as internal from "./internal/resource.js";
|
||||
/**
|
||||
* @since 2.0.0
|
||||
* @category symbols
|
||||
*/
|
||||
export const ResourceTypeId = internal.ResourceTypeId;
|
||||
/**
|
||||
* Creates a new `Resource` value that is automatically refreshed according to
|
||||
* the specified policy. Note that error retrying is not performed
|
||||
* automatically, so if you want to retry on errors, you should first apply
|
||||
* retry policies to the acquisition effect before passing it to this
|
||||
* constructor.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @category constructors
|
||||
*/
|
||||
export const auto = internal.auto;
|
||||
/**
|
||||
* Retrieves the current value stored in the cache.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @category getters
|
||||
*/
|
||||
export const get = internal.get;
|
||||
/**
|
||||
* Creates a new `Resource` value that must be manually refreshed by calling
|
||||
* the refresh method. Note that error retrying is not performed
|
||||
* automatically, so if you want to retry on errors, you should first apply
|
||||
* retry policies to the acquisition effect before passing it to this
|
||||
* constructor.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @category constructors
|
||||
*/
|
||||
export const manual = internal.manual;
|
||||
/**
|
||||
* Refreshes the cache. This method will not return until either the refresh
|
||||
* is successful, or the refresh operation fails.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @category utils
|
||||
*/
|
||||
export const refresh = internal.refresh;
|
||||
//# sourceMappingURL=Resource.js.map
|
||||
Reference in New Issue
Block a user