Exemple #1
0
 public static IFiber StartNew(IExecutor executor)
 {
     return(Fiber.StartNew(FiberType.Thread, executor));
 }
Exemple #2
0
 public static IFiber StartNew()
 {
     return(Fiber.StartNew(FiberType.Thread));
 }
Exemple #3
0
 public static IFiber StartNew(IExecutor exec)
 {
     return(Fiber.StartNew(FiberType.Pool, exec));
 }
Exemple #4
0
 protected RequestAgentBase(FiberType type = FiberType.Pool)
 {
     _fiber   = Fiber.StartNew(type);
     _channel = _fiber.NewRequestPort <TRequest, TReply>(Handle);
 }
Exemple #5
0
 public static IFiber StartNew()
 {
     return(Fiber.StartNew(FiberType.Pool));
 }