IsolateConnectionFactory<Database extends CommonDatabase> constructor
IsolateConnectionFactory<Database extends CommonDatabase> ({
- required dynamic openFactory,
- required dynamic mutex,
- required SerializedPortClient upstreamPort,
Implementation
factory IsolateConnectionFactory(
{required openFactory,
required mutex,
required SerializedPortClient upstreamPort}) {
return IsolateConnectionFactoryImpl(
openFactory: openFactory,
mutex: mutex,
upstreamPort: upstreamPort) as IsolateConnectionFactory<Database>;
}