()
| 216 | |
| 217 | /** a callable and cache a Type holds until it's read, and then is a node of its kind */ |
| 218 | export const deferredCallable = (): { fn: Function; c: object } => { |
| 219 | const c = new NodeCache() |
| 220 | return { fn: callableOf(c), c } |
| 221 | } |
| 222 | |
| 223 | class NodeCache { |
| 224 | self: any |