apibara / dna

Apibara is the fastest platform to build production-grade indexers that connect onchain data to web2 services.
https://www.apibara.com/
Apache License 2.0
168 stars 32 forks source link

sink: implement factory mode #303

Closed fracek closed 6 months ago

fracek commented 6 months ago

Summary This PR introduces factory mode. Developers can export a factory callback from their script to enable this mode.

The filter returned by the factory callback is used to create the "main" data stream, whose transformed output is passed to the integration.

This commit is not concerned with correctly handling cursor and state persistence between restarts, or combining the main filter.

fracek commented 6 months ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.