Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

demo of long running persistent background tasks using an SNS event Lambda

Notifications You must be signed in to change notification settings

architect-examples/arc-example-events-pubsub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This repository is archived. For an updated list of examples see arc.codes/examples.

arc-example-events-pubsub

Demonstrates using @events as background tasks from a web app.

Setup

  1. run npm i to install deps in the root
  2. run npx hydrate to install deps into lambdas in src
  3. run npx sandbox to try it out locally in your browser
  4. run npx t to run the tests

Things to note:

  • included purecss for no good reason
  • src/events/background-task has a .arc-config which I used npx config apply to set the timeout to a couple of minutes if you choose to deploy this with npx create

About

demo of long running persistent background tasks using an SNS event Lambda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published