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