R/zzz.R

Defines functions .onLoad

.onLoad <- function(...) {
    if (is.null(asNamespace("emitters")$.event_loop)) {
        assign(".event_loop", EventLoopWrapper$new(), envir = parent.env(environment()))
    }
    init_duplex()
}
ElianHugh/emitters documentation built on Feb. 6, 2022, 4:55 a.m.