# observe\_export\_resource\_data/2

Source: https://zotonic.com/docs/1782/observe_export_resource_data-2

URI: https://zotonic.com/id/1782

Language: en



mod\_export - fetch a row for the export, can return a list of rows, a binary, and optionally a continuation state. Where Values is \[ term() \], i.e. a list of opaque values, to be formatted with #export\_resource\_format. Return the empty list of values to signify the end of the data stream.

Type:

[first](/id/doc_developerguide_notifications#notification-first)

Return:

`{ok, Values|binary()}`, `{ok, Values|binary(), ContinuationState}` or `{error, Reason}`

`#export_resource_data{}` properties:

- dispatch: `atom`
- id: `m_rsc:resource_id()|undefined`
- content\_type: `binary`
- state: `term`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1782?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1782?language=en>)
