forked from asynkron/protoactor-go
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc8df7b
commit 866dbfc
Showing
17 changed files
with
534 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// //----------------------------------------------------------------------- | ||
// // <copyright file="Actor.cs" company="Asynkron HB"> | ||
// // Copyright (C) 2015-2016 Asynkron HB All rights reserved | ||
// // </copyright> | ||
// //----------------------------------------------------------------------- | ||
|
||
using System.Threading.Tasks; | ||
|
||
namespace GAM | ||
{ | ||
public static class Actor | ||
{ | ||
public static Props FromProducer(ActorProducer producer) | ||
{ | ||
return new Props().Copy(producer = producer); | ||
} | ||
|
||
public static PID Spawn(Props props) | ||
{ | ||
return null; | ||
} | ||
|
||
public static PID SpawnNamed(Props props, string name) | ||
{ | ||
return null; | ||
} | ||
} | ||
|
||
public interface IActor | ||
{ | ||
Task ReceiveAsync(IContext context); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
using System.Threading.Tasks; | ||
|
||
namespace GAM.Actor | ||
namespace GAM | ||
{ | ||
public class PID | ||
{ | ||
|
Oops, something went wrong.