ae ~old-net (2022-05-18T17:03:39.1779262)
Dub
Repo
PersistentMemoized
ae
sys
persistence
std.functional.memoize variant with automatic persistence
struct
PersistentMemoized (
alias
fun
FlushPolicy
flushPolicy
=
FlushPolicy
.
atThreadExit
) {
import
std
.
traits
;
;
import
std
.
typecons
;
;
import
ae
.
utils
.
json
;
;
alias
AA
=
ReturnType
!
fun
[
string
]
;
this
(string fileName);
ReturnType
!
fun
opCall
(ParameterTypeTuple!fun args);
}
Constructors
this
this
(string fileName)
Undocumented in source.
Members
Aliases
AA
alias
AA
=
ReturnType
!
fun
[
string
]
Undocumented in source.
Functions
opCall
ReturnType
!
fun
opCall
(ParameterTypeTuple!fun args)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
ae
sys
persistence
enums
FlushPolicy
LoadPolicy
functions
delayed
mixin templates
CacheCore
structs
FileCache
None
PersistentMemoized
PersistentStringSet
templates
JsonFileCache
std.functional.memoize variant with automatic persistence