You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
423 B
14 lines
423 B
import SessionFactory from './SessionFactory.ts'
|
|
import MemorySession from './MemorySession.ts'
|
|
import SessionInterface from './SessionInterface.ts'
|
|
|
|
/**
|
|
* Session factory that produces memory-based sessions.
|
|
* @extends SessionFactory
|
|
*/
|
|
export default class MemorySessionFactory extends SessionFactory {
|
|
produce(dependencies: any[], parameters: any[]): SessionInterface {
|
|
return new MemorySession()
|
|
}
|
|
}
|