diff options
Diffstat (limited to 'docs/PursLoader/LoaderRef.md')
-rw-r--r-- | docs/PursLoader/LoaderRef.md | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/docs/PursLoader/LoaderRef.md b/docs/PursLoader/LoaderRef.md new file mode 100644 index 0000000..36c1550 --- /dev/null +++ b/docs/PursLoader/LoaderRef.md | |||
@@ -0,0 +1,51 @@ | |||
1 | ## Module PursLoader.LoaderRef | ||
2 | |||
3 | #### `LoaderRef` | ||
4 | |||
5 | ``` purescript | ||
6 | data LoaderRef | ||
7 | ``` | ||
8 | |||
9 | #### `Loader` | ||
10 | |||
11 | ``` purescript | ||
12 | data Loader :: ! | ||
13 | ``` | ||
14 | |||
15 | #### `async` | ||
16 | |||
17 | ``` purescript | ||
18 | async :: forall eff a. LoaderRef -> Eff (loader :: Loader | eff) (Maybe Error -> a -> Eff (loader :: Loader | eff) Unit) | ||
19 | ``` | ||
20 | |||
21 | #### `cacheable` | ||
22 | |||
23 | ``` purescript | ||
24 | cacheable :: forall eff. LoaderRef -> Eff (loader :: Loader | eff) Unit | ||
25 | ``` | ||
26 | |||
27 | #### `query` | ||
28 | |||
29 | ``` purescript | ||
30 | query :: LoaderRef -> String | ||
31 | ``` | ||
32 | |||
33 | #### `clearDependencies` | ||
34 | |||
35 | ``` purescript | ||
36 | clearDependencies :: forall eff. LoaderRef -> Eff (loader :: Loader | eff) Unit | ||
37 | ``` | ||
38 | |||
39 | #### `resourcePath` | ||
40 | |||
41 | ``` purescript | ||
42 | resourcePath :: LoaderRef -> String | ||
43 | ``` | ||
44 | |||
45 | #### `addDependency` | ||
46 | |||
47 | ``` purescript | ||
48 | addDependency :: forall eff. LoaderRef -> String -> Eff (loader :: Loader | eff) Unit | ||
49 | ``` | ||
50 | |||
51 | |||