Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

resolve-eventstore-base

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve-eventstore-base

A base for reSolve eventstore adapters

  • 0.24.21
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-80.95%
Maintainers
1
Weekly downloads
 
Created
Source

resolve-eventstore-base

npm version

This base package is a eventstore adapter for storing events.

Usage

import createAdapter from 'resolve-eventstore-xxx';

const adapter = createAdapter({/* options */});

await adapter.init()

await loadEvents({ 
  eventTypes: ['TYPE_1', 'TYPE_2'],
  aggregateIds: ['aggregate_1', 'aggregate_2'],
  startTime: 0,
  finishTime: Date.now()
})

await saveEvent(event)

await dispose({ dropEvents: false })

Analytics

Keywords

FAQs

Package last updated on 07 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc