AssemblyLoadContextEvaluatorPool
Namespace: MBrace.Vagabond.LoadContextPool
Attributes:
[<AutoSerializable(false)>]
Defines an AssemblyLoadContext pool that evaluates code based on Vagabond dependency affinities
Instance members
Instance member | Description |
x.Evaluate(dependencies, f)
Signature: (dependencies:seq<AssemblyId> * f:(unit -> 'T)) -> 'T
Type parameters: 'T
|
Evaluates function in pooled AssemblyLoadContext. LoadContext will be allocated based on dependency affinity.
|
x.EvaluateAsync(dependencies, f)
Signature: (dependencies:seq<AssemblyId> * f:Async<'T>) -> Async<'T>
Type parameters: 'T
|
Asynchronously evaluates function in pooled LoadContext. AssemblyLoadContext will be selected based on dependency affinity.
|
x.LoadContextCount
Signature: int
|
Current AssemblyLoadContext count
CompiledName: get_LoadContextCount
|
x.MaxLoadContexts
Signature: int
|
Maximum allowed AssemblyLoadContext count
CompiledName: get_MaxLoadContexts
|
x.MinLoadContexts
Signature: int
|
Minimum allowed AssemblyLoadContext count
CompiledName: get_MinLoadContexts
|
Static members
Static member | Description |
AssemblyLoadContextEvaluatorPool.Create(...)
Signature: (loadContextInitializer:(unit -> unit) option * minimumConcurrentContexts:int option * maximumConcurrentContexts:int option * threshold:TimeSpan option * maxTasksPerContext:int option) -> AssemblyLoadContextEvaluatorPool
|
Creates a new AssemblyLoadContextEvaluatorPool instance.
|