OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::api::metadata::push_time_stamped_fn Struct Reference

Function object to push records with timestamps into the container metadata database. More...

#include <metadata.hpp>

Public Types

using coro_t = boost::coroutines2::coroutine<std::tuple<record_t, timestamp_t>>

Public Member Functions

auto operator() (context_t const &ctx) const -> coro_t::push_type

Detailed Description

Function object to push records with timestamps into the container metadata database.

This function object provides an operator() that takes a context and returns a push coroutine for inserting records along with their timestamps. It is designed to be used in a coroutine-based context for efficient insertion of time-stamped records into the container metadata database.

Member Function Documentation

◆ operator()()

auto oxy::api::metadata::push_time_stamped_fn::operator() ( context_t const & ctx) const -> coro_t::push_type
Parameters
ctx- The context for container metadata record operations.
Returns
A coroutine push type that allows for pushing records with timestamps into the container metadata database.