callback | R Documentation |
These classes are used to define callback behaviors, and are based
on readr's readr::callback
functions.
The callbacks HipChunkCallback
, HipListCallback
and
HipSideEffectChunkCallback
should be identical to their readr
counterparts, but have been copied into hipread to ensure that they
work even if readr changes.
The callback HipDataFrameCallback
is similar to
readr::DataFrameCallback() except that it uses dplyr::bind_rows()
instead of rbind()
so that it is faster.
new()
ChunkCallback$new(callback)
receive()
ChunkCallback$receive(data, index)
continue()
ChunkCallback$continue()
result()
ChunkCallback$result()
finally()
ChunkCallback$finally()
clone()
The objects of this class are cloneable with this method.
ChunkCallback$clone(deep = FALSE)
deep
Whether to make a deep clone.
hipread::ChunkCallback
-> HipChunkCallback
clone()
The objects of this class are cloneable with this method.
HipChunkCallback$clone(deep = FALSE)
deep
Whether to make a deep clone.
hipread::ChunkCallback
-> hipread::HipChunkCallback
-> HipSideEffectChunkCallback
new()
HipSideEffectChunkCallback$new(callback)
receive()
HipSideEffectChunkCallback$receive(data, index)
continue()
HipSideEffectChunkCallback$continue()
clone()
The objects of this class are cloneable with this method.
HipSideEffectChunkCallback$clone(deep = FALSE)
deep
Whether to make a deep clone.
hipread::ChunkCallback
-> hipread::HipChunkCallback
-> HipListCallback
new()
HipListCallback$new(callback)
receive()
HipListCallback$receive(data, index)
result()
HipListCallback$result()
finally()
HipListCallback$finally()
clone()
The objects of this class are cloneable with this method.
HipListCallback$clone(deep = FALSE)
deep
Whether to make a deep clone.
hipread::ChunkCallback
-> hipread::HipChunkCallback
-> HipDataFrameCallback
new()
HipDataFrameCallback$new(callback)
receive()
HipDataFrameCallback$receive(data, index)
result()
HipDataFrameCallback$result()
finally()
HipDataFrameCallback$finally()
clone()
The objects of this class are cloneable with this method.
HipDataFrameCallback$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.