Inline session fork parameters
This commit is contained in:
@@ -17,14 +17,8 @@ The store exposes one operation:
|
||||
```ts ignore-check
|
||||
type SessionForkSource = Session | SessionId
|
||||
|
||||
interface ForkSessionOptions {
|
||||
source: SessionForkSource
|
||||
boundary?: number
|
||||
childSessionId?: SessionId
|
||||
}
|
||||
|
||||
class SessionStore extends Service {
|
||||
fork(options: ForkSessionOptions): Session
|
||||
fork(source: SessionForkSource, boundary?: number, childSessionId?: SessionId): Session
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user