Add a directory Examples/BackgroundTasks with code sample and a README
I also slightly modified Lambda+Codable.swift to provide default JSONEncoder() and JSONDecoder() to not require user to create their own if they don't need to.
Result:
Developers know how to use Lambda background tasks
Add code example for Lambda Background Tasls
Motivation:
Partially addresses https://github.com/swift-server/swift-aws-lambda-runtime/issues/376
Modifications:
Add a directory
Examples/BackgroundTasks
with code sample and a READMEI also slightly modified
Lambda+Codable.swift
to provide defaultJSONEncoder()
andJSONDecoder()
to not require user to create their own if they don't need to.Result:
Developers know how to use Lambda background tasks