diff options
author | eric <thul.eric@gmail.com> | 2015-08-11 21:23:46 -0400 |
---|---|---|
committer | eric <thul.eric@gmail.com> | 2015-08-11 21:23:46 -0400 |
commit | 7226ff961c104037e8e5d3705949e2e9d58a6727 (patch) | |
tree | 555547366ccadfe71689b95a6b16b855b6173364 /docs/PursLoader/LoaderRef.md | |
parent | eae2e182cec2d521166e5775294b52300c42f069 (diff) | |
parent | 07de44be15efb0ca9a2d1443ab1e91076a25409c (diff) | |
download | purs-loader-7226ff961c104037e8e5d3705949e2e9d58a6727.tar.gz purs-loader-7226ff961c104037e8e5d3705949e2e9d58a6727.tar.zst purs-loader-7226ff961c104037e8e5d3705949e2e9d58a6727.zip |
Merge pull request #27 from ethul/topic/issue-26
Topic/issue 26
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 | |||