Skip to content

Commit

Permalink
deploy: fd4cc64
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Nov 5, 2024
1 parent e21c78f commit c1656ca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 26 deletions.
13 changes: 1 addition & 12 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1062,22 +1062,11 @@ <h2 id="implementing-a-custom-data-availability-provider"><a class="header" href
// Place your data in here
}

#[async_trait]
impl AsyncIterator for ExampleDataIterator {
type Item = Bytes;

async fn next(&amp;mut self) -&gt; PipelineResult&lt;Self::Item&gt; {
todo!("return the next bytes")
}
}


#[async_trait]
impl DataAvailabilityProvider for ExampleAvail {
type Item = Bytes;
type DataIter = ExampleDataIterator;

async fn open_data(&amp;self, block_ref: &amp;BlockInfo) -&gt; PipelineResult&lt;Self::DataIter&gt; {
async fn open_data(&amp;self, block_ref: &amp;BlockInfo) -&gt; PipelineResult&lt;Self::Item&gt; {
todo!("return an AsyncIterator implementation here")
}
}
Expand Down
13 changes: 1 addition & 12 deletions sdk/pipeline/providers.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,22 +266,11 @@ <h2 id="implementing-a-custom-data-availability-provider"><a class="header" href
// Place your data in here
}

#[async_trait]
impl AsyncIterator for ExampleDataIterator {
type Item = Bytes;

async fn next(&amp;mut self) -&gt; PipelineResult&lt;Self::Item&gt; {
todo!("return the next bytes")
}
}


#[async_trait]
impl DataAvailabilityProvider for ExampleAvail {
type Item = Bytes;
type DataIter = ExampleDataIterator;

async fn open_data(&amp;self, block_ref: &amp;BlockInfo) -&gt; PipelineResult&lt;Self::DataIter&gt; {
async fn open_data(&amp;self, block_ref: &amp;BlockInfo) -&gt; PipelineResult&lt;Self::Item&gt; {
todo!("return an AsyncIterator implementation here")
}
}
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit c1656ca

Please sign in to comment.