Small library for idempotency
npm install --save @emartech/me-idempotency
const { createClient } = require('redis')
const { createRedisIdempotency, defaultIdempotencyKeyGenerator } = require('@emartech/me-idempotency')
const Idempotency = createRedisIdempotency(createClient())
const key = defaultIdempotencyKeyGenerator(customerId, runId, pushToken)
const result = Idempotency.set(key)
if (result) console.log('Idemp ok')