~/talk

Asynchronous operations in UI using Workflows and Firestore

Talkat Google I/O 2022 · 2022-05-11..05-12· [web-platform, nodejs]
slides:none on file

Client JavaScript calls a Cloud Function that uses the Workflows Executions API to start an execution which orchestrates services (payments, Document AI, shipping) and updates a Firestore document at each key step; the UI subscribes with onSnapshot to show live status changes. Workflows can create callback endpoints and pause waiting for an external HTTP call, enabling human approval flows. Workflows run reliably for up to a year, handle retries, and use a Firestore connector so no manual DB code is required.

AI-written summary · about

  1. 0:00Start
  2. 5:34Pizza Ordering Process
  3. 6:19Workflow Execution
  4. 7:36Recap
  5. 8:23Client-Side Javascript Code
  6. 9:22Workflow Definition
  7. 10:27Smart Expense Report Application
  8. 16:17Pause the Execution of the Workflow
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.