---
title: load()
framework: synchronization
role: symbol
role_heading: Instance Method
path: synchronization/atomiclazyreference/load()
---

# load()

Atomically loads and returns the current value of this reference.

## Declaration

```swift
func load() -> Instance?
```

## Return Value

Return Value A value of Instance if the lazy reference was written to, or nil if it has not been written to yet.

## Discussion

Discussion note: The load operation is performed with the memory ordering AtomicLoadOrdering.acquiring.
