Normal Polygamous Marriage

    resolve-storage-base

    0.23.2 • Public • Published

    resolve-storage-base

    npm version

    This base package is a resolve-es adapter for storing events.

    Usage

    import createAdapter from 'resolve-storage-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()
    }, callback)
     
    await saveEvent(event)
     
    await dispose({ dropEvents: false })

    Analytics

    Install

    npm i resolve-storage-base

    DownloadsWeekly Downloads

    157

    Version

    0.23.2

    License

    MIT

    Unpacked Size

    141 kB

    Total Files

    54

    Last publish

    Collaborators

    • resolve-admin
    • reimagined-admin
    • vladihost
    • lykoi18