neptune_wait: Wait for all the tracking calls to finish.

View source: R/neptune_wait.R

neptune_waitR Documentation

Wait for all the tracking calls to finish.

Description

Wait for all the tracking calls to finish. In asynchronous connection mode data (default one) is synchronized with the Neptune servers in the background and each call to upload, log etc. is not immediately executed. Wait delays the code execution until all the calls are done.

Usage

  neptune_wait(run, disk_only=FALSE)

Arguments

run

Neptune run object.

disk_only

logical - If TRUE the process will only wait for data to be saved locally from memory, but will not wait for them to reach Neptune servers.

Value

None

Author(s)

Authors:

See Also

Useful links:

Examples

  ## Not run: 
    # We are using api token for an anonymous user neptuner. 
    # For your projects use your private token.
    run <- neptune_init(api_token = 'ANONYMOUS',
                        project = "common-r/quickstarts")
    neptune_wait(run)
  
## End(Not run)

neptune documentation built on April 13, 2022, 5:14 p.m.