Skip to main content

singleton_is

Function singleton_is 

Source
pub fn singleton_is(source: &BindingSource, capability: &str) -> bool
Expand description

Whether source is the one-per-Worker binding of capability (#3300, #3478): the kind test for a singleton, whose runtime type and test double differ per capability.