-
-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
UniTask integration
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#if VCONTAINER_UNITASK_INTEGRATION | ||
using System.Threading; | ||
using Cysharp.Threading.Tasks; | ||
|
||
namespace VContainer.Unity | ||
{ | ||
public interface IAsyncStartable | ||
{ | ||
UniTask StartAsync(CancellationToken cancellation); | ||
} | ||
} | ||
#endif |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace VContainer.Unity | ||
{ | ||
public interface IFixedTickable | ||
{ | ||
void FixedTick(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace VContainer.Unity | ||
{ | ||
public interface IInitializable | ||
{ | ||
void Initialize(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace VContainer.Unity | ||
{ | ||
public interface ILateTickable | ||
{ | ||
void LateTick(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace VContainer.Unity | ||
{ | ||
public interface IPostFixedTickable | ||
{ | ||
void PostFixedTick(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace VContainer.Unity | ||
{ | ||
public interface IPostInitializable | ||
{ | ||
void PostInitialize(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace VContainer.Unity | ||
{ | ||
public interface IPostLateTickable | ||
{ | ||
void PostLateTick(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace VContainer.Unity | ||
{ | ||
public interface IPostStartable | ||
{ | ||
void PostStart(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace VContainer.Unity | ||
{ | ||
public interface IPostTickable | ||
{ | ||
void PostTick(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace VContainer.Unity | ||
{ | ||
public interface IStartable | ||
{ | ||
void Start(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace VContainer.Unity | ||
{ | ||
public interface ITickable | ||
{ | ||
void Tick(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
|
||
namespace VContainer.Unity | ||
{ | ||
sealed class EntryPointExceptionHandler | ||
{ | ||
readonly Action<Exception> handler; | ||
|
||
public EntryPointExceptionHandler(Action<Exception> handler) | ||
{ | ||
this.handler = handler; | ||
} | ||
|
||
public void Publish(Exception ex) | ||
{ | ||
handler.Invoke(ex); | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
a453e72
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: