Expand description
Source factories (D43/D40/D111).
Sync sources run directly in the source body. Async/time sources stay at the
source/driver boundary: they schedule work on the graph-local driver and emit
later through DeferredCtx, preserving the sync wave core.
Structs§
- Cron
Instant - Fieldized instant used by
matches_cron. - Cron
Parse Error - Error returned by
parse_cron. - Cron
Schedule - Minimal five-field cron schedule: minute hour day-of-month month day-of-week.
- Cron
Tick - Value emitted by
from_cron. - From
Cron Options FromCronOptionsdata container.- From
FsWatch Options - Options for
from_fs_watch_with_options. - From
GitHook Options FromGitHookOptionsdata container.- FsEvent
- Filesystem event emitted by
from_fs_watch. - GitEvent
- Git event emitted by
from_git_hook.
Enums§
- FsEvent
Kind - Filesystem event kind emitted by
from_fs_watch. - GitHook
Type GitHookTypevariants.- Sync
Value From Error - Host-boundary result for
first_sync_value_fromandsingle_sync_value_from.
Functions§
- empty
- empty: COMPLETE immediately with no DATA.
- first_
sync_ value_ from - Read the first DATA value delivered during the synchronous subscribe window.
- from_
cron - from_cron: emit a
CronTickwhen the schedule matches the current minute. - from_
cron_ with_ options - Configurable form of
from_cron. - from_
fs_ watch - from_fs_watch: filesystem watcher source.
- from_
fs_ watch_ with_ options - Configurable form of
from_fs_watch. - from_
git_ hook - from_git_hook: poll a local Git repository and emit post-commit events.
- from_
git_ hook_ with_ options - Configurable form of
from_git_hook. - from_
http - Creates or computes
from_http. - from_
http_ with_ options - Creates or computes
from_http_with_options. - from_
iter - from_iter: emit every item in order, then COMPLETE, on activation.
- from_
process - from_process: source-name alias for
run_process. - from_
sse - Creates or computes
from_sse. - from_
sse_ with_ options - Creates or computes
from_sse_with_options. - from_
timer - from_timer: stable source-name alias for
timer. - from_
webhook - from_webhook: register an inbound webhook bridge through the graph environment.
- from_
webhook_ with_ options - Configurable form of
from_webhook. - from_
websocket - Creates or computes
from_websocket. - from_
websocket_ with_ options - Creates or computes
from_websocket_with_options. - future_
local - future_local: run a fresh single-thread local fallible future on activation.
- interval
- interval: ticks
0, 1, 2, ...everymsuntil deactivation. - matches_
cron - Test whether an instant matches a parsed five-field cron schedule.
- never
- never: activate and remain silent until deactivation.
- of
- of: emit one value and COMPLETE on activation.
- parse_
cron - Parse a standard five-field cron expression.
- run_
process - run_process: execute one process via the graph-local environment process driver.
- run_
process_ with_ options - Configurable form of
run_process. - single_
sync_ value_ from - Read exactly one DATA value from a synchronously completing source.
- stream_
local - stream_local: pump a fresh single-thread local fallible stream through the
graph-local driver. Every
Ok(item)becomes DATA; stream exhaustion emits COMPLETE; the firstErr(error)emits ERROR and terminates the source. - throw_
error - throw_error: terminate with ERROR on activation.
- timer
- timer: one tick (
0) afterms, then COMPLETE.