Stdlib index
- Captured-borrow migration worklist (3.3.3)
- Owned-bind migration worklist (8.2.7)
- Return-side title audit — the ride-through enumeration
- stdlib ownership audit
- stdlib ownership dispositions (plan 1.3.1 / 4.3.1)
aot
codec
codec / csv
codec / json
collection
- ArrayList
- BPlusTree
- Cache
- Collectors
- HashMap
- HashSet
- Heap
- ImmutableList
- ImmutableMap
- ImmutableSet
- LinkedList
- RedBlackTree
- Sort
collection / ltm
concurrent
error
- Exception
- NoOptionalValueException
- NotProvidedException
- RecoverableException
- ScopedBuildFailedException
- ScopeNotActiveException
- Throwable
- UnrecoverableException
gfx
hash
ifx
io
io / file
io / net
io / net / dns
io / net / uri
lang
lang / stream
math
math / fft
math / linalg
math / npio
math / poly
math / random
math / stats
nucleo
- Columns — the Arrow-laid-out substrate
- Fused tensor expressions — Fuse
- Table — the lazy, typed dataframe
- Tape — define-by-run autograd
- Transform intrinsics — Grad, Vmap, Jit
process
reflect
search / distance
search / fuzzy
search / ngram
session
time
- Clock
- DateTimeFormatter
- Duration
- Instant
- LocalDate
- LocalDateTime
- LocalTime
- Period
- ZonedDateTime
- ZoneId
- ZoneOffset
wire
xpu
xpu / mesh
Watcher
cajeta.io.file.Watcher — filesystem-change notifier: watches a
Path or File and surfaces FileEvents (created /
modified / deleted, filtered by WatchKind) as they happen. The full watcher
is a deferred phase — today a Watcher only opens, holds a backing handle
(inotify fd on Linux, event-stream pointer elsewhere), and closes; the native
backing, fiber-park integration, and Stream<FileEvent> wiring are still to
come.
Watcher watcher = heap Watcher();
// ... future: drain a Stream<FileEvent> here ...
watcher.close();
Methods
| Signature | |
|---|---|
Watcher() ⚑ | Creates a Watcher with no active backing handle |
void close() | Releases the backing handle; no-op while the watcher is inactive |
⚑ = @EntryPoint
See also
- Source:
runtime/src/cajeta/io/file/Watcher.cajeta - Path / File — what a watcher observes