()
| 1214 | } |
| 1215 | |
| 1216 | func (apfl *AsyncPagesFileLoad) err() error { |
| 1217 | if v := apfl.errVal.Load(); v != nil { |
| 1218 | return v.(error) |
| 1219 | } |
| 1220 | return nil |
| 1221 | } |
| 1222 | |
| 1223 | // asyncMemoryFileLoad holds async page loading state for a single MemoryFile. |
| 1224 | type asyncMemoryFileLoad struct { |