Skip to content

Commit

Permalink
Merge pull request #28 from 0xPolygonZero/fix_latest_nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashtare authored Mar 11, 2024
2 parents 27d1df9 + 849e014 commit b40ac08
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions paladin-core/src/runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ impl Runtime {
/// [`Directive`](crate::directive::Directive) needs to coordinate the
/// results of multiple [`Task`]s.
#[instrument(skip_all, level = "debug")]
async fn get_task_sender<'a, Op: Operation, Metadata: Serializable + 'a>(
async fn get_task_sender<'a, Op: Operation + 'a, Metadata: Serializable + 'a>(
&self,
) -> Result<Sender<'a, Task<'a, Op, Metadata>>> {
// Get a publisher for the task channel, which accepts `AnyTask`.
Expand Down Expand Up @@ -305,7 +305,11 @@ impl Runtime {
/// [`Directive`](crate::directive::Directive) needs to coordinate the
/// results of multiple [`Task`]s.
#[instrument(skip_all, level = "debug")]
pub async fn lease_coordinated_task_channel<'a, Op: Operation, Metadata: Serializable + 'a>(
pub async fn lease_coordinated_task_channel<
'a,
Op: Operation + 'a,
Metadata: Serializable + 'a,
>(
&self,
) -> Result<CoordinatedTaskChannel<'a, Op, Metadata>> {
// Issue a new channel and return its identifier paired with a stream of
Expand Down

0 comments on commit b40ac08

Please sign in to comment.