/
BiocParallel.FutureParam-package.R
27 lines (27 loc) · 1.12 KB
/
BiocParallel.FutureParam-package.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#' BiocParallel.FutureParam: A BiocParallelParam class using Futures
#'
#' The \pkg{BiocParallel.FutureParam} package provides [FutureParam],
#' a [BiocParallel::BiocParallelParam] class, for the
#' \pkg{BiocParallel} package that works with \emph{any} type of future.
#' (that is supported by Future API of the \pkg{future} package) can
#' be used for asynchronous (parallel/distributed) or synchronous
#' (sequential) processing.
#'
#' Futures themselves are provided by the \pkg{future} package, e.g.
#' multicore, multisession, ad hoc cluster, and MPI cluster futures.
#' Additional futures are provided by other packages.
#' For example, BatchJobs futures are implemented by the
#' \pkg{future.BatchJobs} package, which expands the support for
#' asynchronous processing to anything that the \pkg{BatchJobs}
#' package supports.
#'
#' To use futures with the \pkg{BiocParallel} package, load
#' \pkg{BiocParallel.FutureParam}, call `register(FutureParam())`,
#' select the type of future you wish to use via
#' [future:plan()].
#'
#' @example incl/BiocParallel.FutureParam.R
#'
#' @docType package
#' @name BiocParallel.FutureParam
NULL