Skip to main content
Import the Rollup module. Everything starts from the Rollup namespace and its shared client, Rollup.shared, which runs on the main actor.

Codable results

Every public value type is Codable and Sendable, with camelCase keys. Enums encode as tagged objects, such as {"type":"indexing","indexed":10,"total":40,"searchable":true}. Use Rollup.jsonEncoder and Rollup.jsonDecoder, which write and read ISO 8601 dates, to pass results to a web view or another layer as JSON.