summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/context/ExecutionContextAwareInterface.php
blob: 3a955bfaefade8541359d4b448da04f9eb0be618 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

declare(strict_types=1);

namespace OpenTelemetry\Context;

interface ExecutionContextAwareInterface
{
    /**
     * @param int|string $id
     */
    public function fork($id): void;

    /**
     * @param int|string $id
     */
    public function switch($id): void;

    /**
     * @param int|string $id
     */
    public function destroy($id): void;
}