Notify returns a channel that closes when the shadow WAL changes.
()
| 600 | |
| 601 | // Notify returns a channel that closes when the shadow WAL changes. |
| 602 | func (db *DB) Notify() <-chan struct{} { |
| 603 | db.mu.RLock() |
| 604 | defer db.mu.RUnlock() |
| 605 | return db.notify |
| 606 | } |
| 607 | |
| 608 | // PageSize returns the page size of the underlying database. |
| 609 | // Only valid after database exists & Init() has successfully run. |
no outgoing calls
no test coverage detected