npm @serverless-stack/cli 1.15.0
v1.15.0

latest releases: 1.18.4, 1.18.3, 1.18.2...
2 years ago

📢 Job

We are launching Job — a simple way to run functions that can take up to 8 hours in SST:

  • Construct to define the infrastructure

    new Job(stack, "MyJob", {
      handler: "jobs/myJob.handler",
      timeout: "8 hours"
    }
  • Lambda handler to create the job

    const handler = JobHandler("MyJob", payload => {
      // Some long running code
    })
  • Typesafe client to invoke the job

    await Job.run("MyJob", {
      payload: {
        foo: "bar"
      }
    })

Learn more https://docs.sst.dev/long-running-jobs


Changes


Update using:

$ npx sst update v1.15.0
$ yarn sst update v1.15.0

Don't miss a new cli release

NewReleases is sending notifications on new releases.