Skip to content

Add getTtl function to WrapConfig options #1

@jpwilliams

Description

@jpwilliams

This function could receive the data ouput from the work function given and return a ttl number for the psetex in _pushData.

This would cover many cases, but still not the HTTP example in the event where the resulting data is the document itself but the TTL comes from the headers.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions